(css) Fix "view-detail" of Calendar module

Will now take all space when sidenav is hidden.
pull/101/head^2
Francis Lachapelle 2015-12-02 14:53:06 -05:00
parent 9c2d7b5316
commit 8f8885a8ea
1 changed files with 6 additions and 5 deletions

View File

@ -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;
}
}