From 364ab957e6d94ecac8f13a625a2ded6c36c9deff Mon Sep 17 00:00:00 2001 From: Paul Clarke Date: Thu, 20 Oct 2016 12:07:28 +1300 Subject: [PATCH] improve spacing of sitetree for smaller screens --- admin/client/dist/styles/bundle.css | 4 +++- admin/client/src/styles/legacy/_tree.scss | 8 ++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/admin/client/dist/styles/bundle.css b/admin/client/dist/styles/bundle.css index d18b9f0e0..c90c61308 100644 --- a/admin/client/dist/styles/bundle.css +++ b/admin/client/dist/styles/bundle.css @@ -11252,11 +11252,13 @@ form.small .cms-file-info-data .field .middleColumn{ .cms li.jstree-open>ul,.TreeDropdownField .treedropdownfield-panel li.jstree-open>ul{ display:block; - margin-left:-13px; + margin-left:-15px; + margin-right:-20px; } .cms li.jstree-open>ul li ul,.TreeDropdownField .treedropdownfield-panel li.jstree-open>ul li ul{ margin-left:2px; + margin-right:0; } .cms li.jstree-closed>ul,.TreeDropdownField .treedropdownfield-panel li.jstree-closed>ul{ diff --git a/admin/client/src/styles/legacy/_tree.scss b/admin/client/src/styles/legacy/_tree.scss index b23aa341b..145dd2b34 100644 --- a/admin/client/src/styles/legacy/_tree.scss +++ b/admin/client/src/styles/legacy/_tree.scss @@ -164,11 +164,15 @@ li.jstree-open > ul { display: block; - margin-left: -13px; + margin-left: -15px; + margin-right: -20px; + li ul { - margin-left:2px; + margin-left: 2px; + margin-right: 0; } } + li.jstree-closed > ul { display: none; }