From 4a45793af9c1f5a3d0f73e26af306a1352509341 Mon Sep 17 00:00:00 2001 From: Paul Clarke Date: Wed, 5 Oct 2016 15:42:28 +1300 Subject: [PATCH] Hide preview in other areas of the cms outside of pages --- admin/client/dist/styles/bundle.css | 4 ++++ admin/client/src/styles/legacy/_preview.scss | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/admin/client/dist/styles/bundle.css b/admin/client/dist/styles/bundle.css index c4221b996..e9e3b1716 100644 --- a/admin/client/dist/styles/bundle.css +++ b/admin/client/dist/styles/bundle.css @@ -12543,6 +12543,10 @@ li.class-ErrorPage>a .jstree-pageicon{ border-left:1px solid #ced3d9; } +.cms-preview.blocked{ + display:none; +} + .cms-preview .cms-preview-overlay{ width:100%; height:100%; diff --git a/admin/client/src/styles/legacy/_preview.scss b/admin/client/src/styles/legacy/_preview.scss index 61340506c..bb560ee26 100644 --- a/admin/client/src/styles/legacy/_preview.scss +++ b/admin/client/src/styles/legacy/_preview.scss @@ -234,6 +234,10 @@ background-color: $tab-panel-texture-color; border-left: 1px solid $border-color-dark; + &.blocked { + display: none; + } + .cms-preview-overlay { width: 100%; height: 100%;