diff --git a/src/components/TheEditor.vue b/src/components/TheEditor.vue index 82bd045a7..8a14bd2b3 100644 --- a/src/components/TheEditor.vue +++ b/src/components/TheEditor.vue @@ -525,21 +525,14 @@ export default class TheEditor extends Mixins(BaseMixin) { } @media screen and (min-width: 960px) { - .codemirror:not(.withSidebar) { - width: 100%; - } - .codemirror.withSidebar { - width: calc(100% - 300px); - } -} - .codemirror { + .codemirror:not(.withSidebar) { width: 100%; } - .codemirror.withSidebar { width: calc(100% - 300px); } } + .structure-sidebar { width: 300px; overflow-y: auto;