diff options
| author | bob <bcz@cs.brown.edu> | 2020-01-15 17:17:35 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2020-01-15 17:17:35 -0500 |
| commit | 8212288108c3acfd129e45b9f496f0606a8d2848 (patch) | |
| tree | 941a580fddfdd79022cbf4c1edf22c25a78c80a0 /src/client/views/nodes/DocumentView.scss | |
| parent | 3ab47ee803372686966092751bd6a589b62a17c6 (diff) | |
changed freeformdocument to use contentfittingviews if specified with FitToBox. fixed bugs with contentfittingviews & titles.
Diffstat (limited to 'src/client/views/nodes/DocumentView.scss')
| -rw-r--r-- | src/client/views/nodes/DocumentView.scss | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.scss b/src/client/views/nodes/DocumentView.scss index f44c6dd3b..2ce56c73d 100644 --- a/src/client/views/nodes/DocumentView.scss +++ b/src/client/views/nodes/DocumentView.scss @@ -55,7 +55,7 @@ position: absolute; } - .documentView-titleWrapper { + .documentView-titleWrapper, .documentView-titleWrapper-hover { overflow: hidden; color: white; transform-origin: top left; @@ -68,6 +68,9 @@ text-overflow: ellipsis; white-space: pre; } + .documentView-titleWrapper-hover { + display:none; + } .documentView-searchHighlight { position: absolute; @@ -85,4 +88,12 @@ } } +} + +.documentView-node:hover, .documentView-node-topmost:hover { + > .documentView-styleWrapper { + > .documentView-titleWrapper-hover { + display:inline-block; + } + } }
\ No newline at end of file |
