From 28ca7a4f8d255252070e02ea326fda23f6ecbf42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 8 Oct 2019 20:30:55 +0200 Subject: Fix styling of placeholders MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- css/prosemirror.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'css') diff --git a/css/prosemirror.scss b/css/prosemirror.scss index 7b47a6e9d..b9e58a7af 100644 --- a/css/prosemirror.scss +++ b/css/prosemirror.scss @@ -1,5 +1,5 @@ /* Document rendering styles */ -.ProseMirror { +div.ProseMirror { margin-top: 44px; height: 100%; position: relative; @@ -21,6 +21,7 @@ opacity: 1; -webkit-user-select: text; user-select: text; + font-size: 14px; } p:first-child, @@ -208,7 +209,7 @@ .editor__content p.is-empty:first-child::before { content: attr(data-empty-text); float: left; - color: #aaa; + color: var(--color-text-maxcontrast); pointer-events: none; height: 0; font-style: italic; -- cgit v1.2.3