forked from intuit/katlas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
intuit#156 - rather than using custom react-splitter-layout fork, upg…
…rade to v4.0.0 where a custom css file can be provided more simply
- Loading branch information
David Masselink
authored and
David Masselink
committed
Apr 2, 2019
1 parent
5649993
commit 9717608
Showing
6 changed files
with
61 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
.splitter-layout { | ||
position: absolute; | ||
display: flex; | ||
flex-direction: row; | ||
width: 100%; | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
|
||
.splitter-layout .layout-pane { | ||
position: relative; | ||
flex: 0 0 auto; | ||
overflow: auto; | ||
} | ||
|
||
.splitter-layout .layout-pane.layout-pane-primary { | ||
flex: 1 1 auto; | ||
} | ||
|
||
.splitter-layout > .layout-splitter { | ||
flex: 0 0 auto; | ||
width: 12px; | ||
height: 100%; | ||
cursor: col-resize; | ||
background-color: #ccc; | ||
background-image: url("grabIcon.png"); | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
} | ||
|
||
.splitter-layout .layout-splitter:hover { | ||
background-color: #bbb; | ||
} | ||
|
||
.splitter-layout.layout-changing { | ||
cursor: col-resize; | ||
} | ||
|
||
.splitter-layout.layout-changing > .layout-splitter { | ||
background-color: #aaa; | ||
} | ||
|
||
.splitter-layout.splitter-layout-vertical { | ||
flex-direction: column; | ||
} | ||
|
||
.splitter-layout.splitter-layout-vertical.layout-changing { | ||
cursor: row-resize; | ||
} | ||
|
||
.splitter-layout.splitter-layout-vertical > .layout-splitter { | ||
width: 100%; | ||
height: 4px; | ||
cursor: row-resize; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8896,9 +8896,10 @@ [email protected]: | |
optionalDependencies: | ||
fsevents "1.2.4" | ||
|
||
react-splitter-layout@davemasselink/react-splitter-layout: | ||
react-splitter-layout@^4.0.0: | ||
version "4.0.0" | ||
resolved "https://codeload.github.com/davemasselink/react-splitter-layout/tar.gz/c47302f517cd2a8103e0ef22c61c347b41953f12" | ||
resolved "https://registry.yarnpkg.com/react-splitter-layout/-/react-splitter-layout-4.0.0.tgz#70b43ca6a78c056f5e5fbf29c67b597f040fbf2e" | ||
integrity sha512-SLqOjBOxRuizWUa83w6q5/u9cDWa9/yj9Iko9V9JFN8x+cqIXiDlUFWSx+icz3IIgvsN/oRIw3za5/32RjIwrA== | ||
|
||
react-test-renderer@^16.0.0-0, react-test-renderer@^16.6.3: | ||
version "16.8.5" | ||
|