From 79ca2f177203b9514c8f351eff4e24b6b4996af5 Mon Sep 17 00:00:00 2001 From: msquare Date: Tue, 15 Nov 2016 21:33:54 +0100 Subject: add fixed shift calendar headers and timelane --- themes/base.less | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'themes') diff --git a/themes/base.less b/themes/base.less index 3cef3d11..19a52e76 100644 --- a/themes/base.less +++ b/themes/base.less @@ -35,10 +35,6 @@ body { } .shift-calendar { - display: flex; - flex-direction: row; - flex-wrap: nowrap; - align-itmes: stretch; display: flex; flex-direction: row; flex-wrap: nowrap; @@ -48,12 +44,13 @@ body { .lane { background: @table-bg-accent; flex-grow: 1; - min-width: 300px; - width: 300px; - flex-grow: 1; + min-width: 280px; + width: 280px; + flex-shrink: 1; .header { background: @panel-bg; + border-bottom: 1px solid @table-border-color; height: 30px; padding: 5px; } @@ -77,10 +74,11 @@ body { } .lane.time { + border-right: 1px solid @table-border-color; flex-grow: 0; - min-width: 100px; - width: 100px; - flex-grow: 0; + min-width: 50px; + width: 50px; + flex-shrink: 0; } .shift { -- cgit v1.2.3-54-g00ecf