diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-06-19 08:55:28 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-06-19 08:55:28 -0400 |
commit | 5221f282cdee70421d4114154a0272595c3254b0 (patch) | |
tree | d47027489548553a4917bfda2d55654428d114e6 | |
parent | 8e8c2b1256b79b8325cc411f9a8c09add8cda39b (diff) |
made a hover highlight for text boxes to distinguish border from text.
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.scss | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.scss b/src/client/views/nodes/formattedText/FormattedTextBox.scss index 06ecc8944..9538cac32 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.scss +++ b/src/client/views/nodes/formattedText/FormattedTextBox.scss @@ -96,6 +96,9 @@ .formattedTextBox-inner, .formattedTextBox-inner-selected { height: 100%; white-space: pre-wrap; + .ProseMirror:hover { + background: rgba(200,200,200,0.8); + } hr { display: block; unicode-bidi: isolate; @@ -324,4 +327,7 @@ footnote::after { .ProseMirror { padding:10px; } + .ProseMirror:hover { + background: unset; + } }
\ No newline at end of file |