From 806f6eb5d72725d598d474a99b9f1209b97a881d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 27 Dec 2019 23:23:25 +0100 Subject: Fix clock-bar. --- static/style.css | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index 44640ce0..d644306c 100644 --- a/static/style.css +++ b/static/style.css @@ -120,13 +120,6 @@ body { flex-grow: 2; } -.clockbar { - /* This is relative for the .clock */ - position: relative; - height: calc(100% - 50px - 10px); - width: 2.5em; -} - .sideclock { /* border-right: 2px solid gray; */ z-index: 1; @@ -163,10 +156,24 @@ body { flex-grow: 1; } +/* Clockbar is also .events */ +.clockbar { + /* Removing this draws timestamps on top of calendar instead of + * besides it */ + width: 2.5em; +} + .wholeday { position: relative; width: 100%; - height: 100px; + height: calc(3 * 1.5em); + padding-bottom: 2px; + border-bottom: 2px solid black; +} + +.wholeday .event { + /* max-height: 1.5em; */ + max-height: 33%; } /* -- cgit v1.2.3