From 5221f282cdee70421d4114154a0272595c3254b0 Mon Sep 17 00:00:00 2001 From: Bob Zeleznik Date: Fri, 19 Jun 2020 08:55:28 -0400 Subject: made a hover highlight for text boxes to distinguish border from text. --- src/client/views/nodes/formattedText/FormattedTextBox.scss | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2