From 8dfe1623c64c01d45ccf33c8698ab4dd6b27f883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 27 Dec 2019 18:13:47 +0100 Subject: First step on whole day events. --- static/style.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index 7bbd698b..44640ce0 100644 --- a/static/style.css +++ b/static/style.css @@ -115,6 +115,7 @@ body { .calendar { width: 100%; + height: 100%; display: flex; flex-grow: 2; } @@ -158,7 +159,14 @@ body { .events { position: relative; width: 100%; - height: calc(100% - 50px); + /* height: calc(100% - 50px); */ + flex-grow: 1; +} + +.wholeday { + position: relative; + width: 100%; + height: 100px; } /* @@ -196,6 +204,9 @@ body { margin-left: 0.5em; border: 1px solid black; + display: flex; + flex-direction: column; + scroll-snap-align: start; } -- cgit v1.2.3