diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-10-08 21:30:55 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-11-04 21:35:10 +0300 |
commit | 28ca7a4f8d255252070e02ea326fda23f6ecbf42 (patch) | |
tree | c6754b48bccbc083f6e45f1f8a47003ac41dba72 /css | |
parent | d8cc1e80d6ce7401310eca1d532d731a4ff507b1 (diff) |
Fix styling of placeholders
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'css')
-rw-r--r-- | css/prosemirror.scss | 5 |
1 files changed, 3 insertions, 2 deletions
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; |