diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2019-12-27 23:23:25 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@hornquist.se> | 2019-12-27 23:23:25 +0100 |
commit | 806f6eb5d72725d598d474a99b9f1209b97a881d (patch) | |
tree | f4c0e26b3168f92d49e1ce23f826693ce3315ac0 /static | |
parent | First step on whole day events. (diff) | |
download | calp-806f6eb5d72725d598d474a99b9f1209b97a881d.tar.gz calp-806f6eb5d72725d598d474a99b9f1209b97a881d.tar.xz |
Fix clock-bar.
Diffstat (limited to '')
-rw-r--r-- | static/style.css | 23 |
1 files changed, 15 insertions, 8 deletions
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%; } /* |