From bf226f87dcb4ab7f72cfd596cc989e95cdfa02e4 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Litza Date: Sat, 29 Dec 2012 14:46:01 +0100 Subject: revert scrollable table because of bad browser implementation and replace by non-fixed header scrolling --- includes/pages/user_shifts.php | 4 ++-- public/css/base.css | 19 +------------------ 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index 69c6b27f..162238e6 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -409,7 +409,7 @@ function view_user_shifts() { $block[$rid][$i]++; } - $shifts_table = ""; + $shifts_table = "
-
"; foreach($myrooms as $key => $room) { $rid = $room["id"]; if(array_sum($block[$rid]) == 0) { @@ -540,7 +540,7 @@ function view_user_shifts() { } $shifts_table .= "\n"; } - $shifts_table .= '
-
'; + $shifts_table .= ''; // qqq } else { $shifts_table = array(); diff --git a/public/css/base.css b/public/css/base.css index e1686bb4..638f6ef4 100644 --- a/public/css/base.css +++ b/public/css/base.css @@ -135,24 +135,7 @@ table { table.scrollable { max-width: 100%; - overflow-x: scroll; - overflow-y: hidden; -} - -table.scrollable thead tr { - display: block; - position: relative; -} - -table.scrollable tbody { - display: block; - position: relative; - overflow-x: hidden; - overflow-y: auto; -} - -table.scrollable tbody * { - width: auto; + overflow: auto; } fieldset hr { -- cgit v1.2.3-54-g00ecf