diff options
| author | bob <bcz@cs.brown.edu> | 2019-11-21 16:27:56 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-11-21 16:27:56 -0500 |
| commit | 7ef52a87d1731770c6e1a8cd1aef31cb384fff05 (patch) | |
| tree | a275203fa8ea5a0e2ce444bf75930c557a1857e2 /src/client/views/nodes/FormattedTextBox.scss | |
| parent | 17474b9b840c78df4dc2601e82cf63a85e0bcbf7 (diff) | |
made textbox sidebar toggle a widget. fixed isAnimating stuff. made TraceMobx to simplify tracing
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.scss')
| -rw-r--r-- | src/client/views/nodes/FormattedTextBox.scss | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.scss b/src/client/views/nodes/FormattedTextBox.scss index 269a3ca68..77cdd3d42 100644 --- a/src/client/views/nodes/FormattedTextBox.scss +++ b/src/client/views/nodes/FormattedTextBox.scss @@ -27,6 +27,8 @@ pointer-events: all; overflow-y: auto; max-height: 100%; + display: flex; + flex-direction: row; .formattedTextBox-dictation { height: 20px; @@ -48,10 +50,28 @@ width: 100%; height: 100%; } -.formattedTextBox-sidebar,.formattedTextBox-sidebar-inking { - border-left: solid 1px black; +.formattedTextBox-sidebar-handle { + position: absolute; + top: calc(50% - 17.5px); + width: 10px; + height: 35px; + background: lightgray; + border-radius: 20px; +} +.formattedTextBox-cont > .formattedTextBox-sidebar-handle { + right: 0; + left: unset; +} +.formattedTextBox-sidebar, .formattedTextBox-sidebar-inking { + border-left: dashed 1px black; height: 100%; display: inline-block; + position: absolute; + right: 0; + > .formattedTextBox-sidebar-handle { + right:unset; + left:-5; + } } .formattedTextBox-sidebar-inking { |
