We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d58e55c commit 9fbd71dCopy full SHA for 9fbd71d
cms/static/cms/js/modules/cms.structureboard.js
@@ -181,7 +181,7 @@ class StructureBoard {
181
const width = this.ui.window[0].innerWidth;
182
const BREAKPOINT = 1024;
183
184
- if (width > BREAKPOINT && !this.condensed) {
+ if (width > BREAKPOINT && !this.condensed && CMS.settings.mode === 'edit') {
185
this._makeCondensed();
186
}
187
@@ -683,7 +683,7 @@ class StructureBoard {
683
684
if (CMS.settings.mode === 'structure') {
685
history.replaceState({}, '', CMS.config.settings.structure);
686
- this.ui.html.addClass('cms-overflow');
+ $('html.cms-structure-mode-structure').addClass('cms-overflow');
687
688
689
this.ui.container.css('right', 0);
0 commit comments