diff --git a/src/components/TheEditor.vue b/src/components/TheEditor.vue index 3acc75290..32edde1a4 100644 --- a/src/components/TheEditor.vue +++ b/src/components/TheEditor.vue @@ -31,13 +31,7 @@ {{ mdiHelp }} {{ $t('Editor.ConfigReference') }} - + {{ mdiFormatListCheckbox }} {{ $t('Editor.FileStructure') }} @@ -58,46 +52,43 @@ {{ mdiCloseThick }} - + +
-
- - - - -
-
-
- + class="d-none d-md-flex cursor-pointer cm-editor ͼo structure-sidebar"> + + + +
@@ -511,12 +502,12 @@ export default class TheEditor extends Mixins(BaseMixin) { } @media screen and (min-width: 960px) { - .structure { - margin-right: 300px; - } - .structure-sidebar { - width: 300px; - overflow-y: auto; + .codemirror { + width: calc(100% - 300px); } } +.structure-sidebar { + width: 300px; + overflow-y: auto; +}