Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'css/prosemirror.scss')
-rw-r--r--css/prosemirror.scss5
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;