aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-12-27 23:23:25 +0100
committerHugo Hörnquist <hugo@hornquist.se>2019-12-27 23:23:25 +0100
commit806f6eb5d72725d598d474a99b9f1209b97a881d (patch)
treef4c0e26b3168f92d49e1ce23f826693ce3315ac0 /static
parentFirst step on whole day events. (diff)
downloadcalp-806f6eb5d72725d598d474a99b9f1209b97a881d.tar.gz
calp-806f6eb5d72725d598d474a99b9f1209b97a881d.tar.xz
Fix clock-bar.
Diffstat (limited to 'static')
-rw-r--r--static/style.css23
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%;
}
/*