From 6b5cb314c748d5725f32fbca5e5b15be67749569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 8 May 2019 17:46:33 +0200 Subject: Add collision handling frontend and rework fetching MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- css/style.scss | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'css') diff --git a/css/style.scss b/css/style.scss index c27227535..ca43c5ded 100644 --- a/css/style.scss +++ b/css/style.scss @@ -75,7 +75,7 @@ li.ProseMirror-selectednode:after { } .ProseMirror-menuseparator { - border-right: 1px solid var(--color-text-maxcontrast); + border: 0; margin-right: 3px; } @@ -176,14 +176,22 @@ li.ProseMirror-selectednode:after { color: var(--color-text-light); padding: 1px 6px; top: 0; left: 0; right: 0; - background: transparent; + background: var(--color-main-background-translucent); z-index: 10; -moz-box-sizing: border-box; box-sizing: border-box; overflow: visible; } +.has-conflicts, +#editor-wrapper.icon-loading { + .ProseMirror-menubar { + display: none; + } +} + .ProseMirror { + margin-top: 44px; overflow: scroll; height: 100%; position: relative; @@ -282,6 +290,7 @@ li.ProseMirror-selectednode:after { .ProseMirror-example-setup-style img { cursor: default; max-height: 50vh; + max-width: 100%; } .ProseMirror-prompt { @@ -345,6 +354,8 @@ div[contenteditable=false] { border: none !important; width: 100%; background-color: transparent; + color: var(--color-main-text); + opacity: 1; } .ProseMirror p:first-child, -- cgit v1.2.3