From 2d5c0d2fb82e29328d3631aa326566c05e6dd16a Mon Sep 17 00:00:00 2001 From: Craig Knudsen Date: Sat, 31 Aug 2024 16:06:11 -0400 Subject: [PATCH] layout fixes --- includes/css/styles.css | 12 ++++++++++++ view_d.php | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/includes/css/styles.css b/includes/css/styles.css index 8a71594c3..496add68f 100644 --- a/includes/css/styles.css +++ b/includes/css/styles.css @@ -1186,6 +1186,18 @@ table#prevmonth { #viewt table.timebar { width:100%; } +#viewt table.timebar th { + width:10%; +} +#ViewT div table th { + width:10%; +} +#ViewT div table td { + width:90%; +} +#viewt table.timebar dh { + width:90%; +} #viewt td.timebar { width:90%; background-color:#FFF; diff --git a/view_d.php b/view_d.php index 466eb02ad..87e4e6099 100644 --- a/view_d.php +++ b/view_d.php @@ -55,7 +55,7 @@ $matrixStr = daily_matrix ( $date, $participants ); $partStr = implode ( ',', $participants ); $trailerStr = print_trailer(); -$wday = strftime ( '%w', mktime ( 0, 0, 0, $thismonth, $thisday, $thisyear ) ); +$wday = date('w', mktime(0, 0, 0, $thismonth, $thisday, $thisyear)); $nextStr = translate ( 'Next' ); $previousStr = translate ( 'Previous' );