diff options
Diffstat (limited to 'src/client/views/nodes/ComparisonBox.scss')
-rw-r--r-- | src/client/views/nodes/ComparisonBox.scss | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/src/client/views/nodes/ComparisonBox.scss b/src/client/views/nodes/ComparisonBox.scss index 57c680d55..2c907a010 100644 --- a/src/client/views/nodes/ComparisonBox.scss +++ b/src/client/views/nodes/ComparisonBox.scss @@ -4,8 +4,36 @@ width: 100%; height: 100%; - .beforeBox-cont { - width: 100%; + .clip-div { + position: absolute; + top: 0; + left: 0; + width: 50%; height: 100%; + overflow: hidden; + z-index: 999; + + .beforeBox-cont { + height: 100%; + width: 300px; + } + + .slide-bar { + position: absolute; + width: 5px; + height: 100%; + top: 0; + right: 0; + background-color: black; + cursor: ew-resize; + } + } + + .afterBox-cont { + position: absolute; + top: 0; + right: 0; + height: 100%; + width: 300px; } }
\ No newline at end of file |