diff --git a/www/css/calendar.css b/www/css/calendar.css index 5c7e6d9..15a2032 100644 --- a/www/css/calendar.css +++ b/www/css/calendar.css @@ -1,9 +1,24 @@ +.pagination_bar { + display: grid; + grid-template-columns: 8em auto 8em; + grid-template-areas: "left . right"; + text-align: center; +} +.pagination_bar >*:nth-child(1) { + grid-area: left; +} +.pagination_bar >*:nth-child(2) { + grid-area: right; +} + figure.calendar { margin: 0; padding:0; + overflow-x: auto; } .calendar ul { + min-width: 43em; list-style-type: none; padding-left:0; @@ -88,7 +103,10 @@ figure.calendar { color: white; border-radius: 0.75em; text-align: center; + padding: 0 0.2em; white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .calendar ul li section + section { margin-top: 0.1em; diff --git a/www/kalender/index.php b/www/kalender/index.php index e9b04ed..506c0b6 100644 --- a/www/kalender/index.php +++ b/www/kalender/index.php @@ -36,7 +36,7 @@ $days_in_month = date('t', mktime(0, 0, 0, $month, 1, $year));

PVV Kalender for

-

Forrige måned - Neste måned -

- + Neste måned +