From 1273a3624f1b7099cd3bab4b35e66ab9eb427c2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 20 Aug 2021 18:20:00 +0200 Subject: Make zero-length events be part of day flow. Since not all zero-length events are at midnight/doesn't have a time component, they are now placed on the correct position of each day, with a dummy-length of 1 hour. --- static/style.scss | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'static/style.scss') diff --git a/static/style.scss b/static/style.scss index 5a006684..a29bb24b 100644 --- a/static/style.scss +++ b/static/style.scss @@ -469,6 +469,11 @@ along with their colors. width: calc(100% * var(--editmode)); } + &.zero-length { + border-radius: 0 1cm 1cm 0; + height: calc(100% * 1/24) !important; + } + &.continuing { border-bottom: none; background-image: linear-gradient(to top, #0007 0%,#FFF0 2em); @@ -593,6 +598,7 @@ along with their colors. } } +/* .zero-width-events .event { width: initial; padding: 0.5em; @@ -601,6 +607,7 @@ along with their colors. position: relative; float: left; } +*/ .repeating { -- cgit v1.2.3