aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-12-27 18:13:47 +0100
committerHugo Hörnquist <hugo@hornquist.se>2019-12-27 18:13:47 +0100
commit8dfe1623c64c01d45ccf33c8698ab4dd6b27f883 (patch)
treeb6689b04ab70cc52331457affe33f0483848f81f /static
parentHTML Leave quirks mode. (diff)
downloadcalp-8dfe1623c64c01d45ccf33c8698ab4dd6b27f883.tar.gz
calp-8dfe1623c64c01d45ccf33c8698ab4dd6b27f883.tar.xz
First step on whole day events.
Diffstat (limited to 'static')
-rw-r--r--static/style.css13
1 files changed, 12 insertions, 1 deletions
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;
}