From cdd13e98cb3e7a795fe0d2ba55c3084749c8b6e9 Mon Sep 17 00:00:00 2001 From: Jonas Date: Thu, 26 Oct 2023 15:31:49 +0200 Subject: [PATCH] fix(editor): Set CSS variable `--text-editor-max-width` per default Otherwise we break the layout of Text in Viewer (e.g. when opening a linked file in the viewer). Signed-off-by: Jonas --- src/components/Page.vue | 2 +- src/components/Page/Editor.vue | 2 +- src/components/Page/LandingPageWidgets.vue | 2 +- src/components/Page/PageInfoBar.vue | 2 +- src/components/Page/TextEditor.vue | 4 ++-- src/components/Page/Version.vue | 5 +++-- src/components/SkeletonLoading.vue | 10 +--------- src/css/editor.scss | 5 +++++ 8 files changed, 15 insertions(+), 17 deletions(-) diff --git a/src/components/Page.vue b/src/components/Page.vue index 75438ee5c4..1a5d2156cb 100644 --- a/src/components/Page.vue +++ b/src/components/Page.vue @@ -1,6 +1,6 @@