From 8f8885a8eaba4fc0c2da46c4fb1229ab01d7621b Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Wed, 2 Dec 2015 14:53:06 -0500 Subject: [PATCH] (css) Fix "view-detail" of Calendar module Will now take all space when sidenav is hidden. --- UI/WebServerResources/scss/views/SchedulerUI.scss | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/UI/WebServerResources/scss/views/SchedulerUI.scss b/UI/WebServerResources/scss/views/SchedulerUI.scss index 9cd14b0c7..e223fe1c6 100644 --- a/UI/WebServerResources/scss/views/SchedulerUI.scss +++ b/UI/WebServerResources/scss/views/SchedulerUI.scss @@ -14,13 +14,13 @@ $block_radius: 3px; [ui-view=calendars] { - // Decrease with of middle column (list of events and tasks) - $listView-width: grid-step(5) !global; - $detailView-width: grid-step(11) !global; + // Decrease width of middle column (list of events and tasks) + $listView-width: grid-step(4) !global; + $detailView-width: grid-step(10) !global; .view-list { min-width: ($listView-width - ($pitch * 2)); - @include at(sm){ + @include at(sm) { @include flex-col(sm, 6, 1, 1); min-width: ($pitch * 3); } @@ -44,7 +44,8 @@ $block_radius: 3px; @include flex-col(sm, 10); } @include from(md) { - @include flex-col(md, 11, 1, 1); + flex: 1 1 auto; + margin: 0; } }