add flexbox layout to sitetree area

This commit is contained in:
Paul Clarke 2016-10-21 12:00:34 +13:00
parent df9b73725a
commit 5cb431d9fd
3 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
<div class="cms-content-view fill-height flexbox-display" data-pjax-fragment="Content-PageList">
<div class="flexbox-area-grow cms-content-view" data-pjax-fragment="Content-PageList">
<% if $ViewState == 'listview' %>
<% include SilverStripe\\CMS\\Controllers\\CMSMain_ListView %>
<% else %>

View File

@ -1,3 +1,3 @@
<div class="panel panel--padded panel--scrollable flexbox-area-grow fill-height cms-content-view cms-tree-view-sidebar" data-pjax-fragment="Content-PageList-Sidebar">
<div class="panel panel--padded panel--scrollable flexbox-area-grow fill-height flexbox-display cms-content-view cms-tree-view-sidebar" data-pjax-fragment="Content-PageList-Sidebar">
<% include SilverStripe\\CMS\\Controllers\\CMSMain_TreeView %>
</div>

View File

@ -7,9 +7,8 @@
</div>
</div>
<div class="cms-content-fields center ui-widget-content cms-panel-padded flexbox-area-grow fill-height">
<div class="flexbox-area-grow fill-height cms-content-fields ui-widget-content cms-panel-padded">
$Tools
$PageList
</div>
</div>