aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-06-19 08:55:28 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-06-19 08:55:28 -0400
commit5221f282cdee70421d4114154a0272595c3254b0 (patch)
treed47027489548553a4917bfda2d55654428d114e6 /src
parent8e8c2b1256b79b8325cc411f9a8c09add8cda39b (diff)
made a hover highlight for text boxes to distinguish border from text.
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/formattedText/FormattedTextBox.scss6
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