Skip to content

Commit

Permalink
split-pane: fix vertical splits
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg authored and ekmartin committed Oct 3, 2016
1 parent adb4741 commit 202b046
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions lib/components/split-pane.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,22 +123,21 @@ export default class SplitPane extends Component {
panes_horizontal: {
flexDirection: 'column',
height: '100%',
minHeight: '100%',
top: 0,
bottom: 0,
maxHeight: '100%',
position: 'relative',
width: '100%'
},

pane: {
flex: 1,
position: 'relative',
outline: 'none'
},

divider: {
boxSizing: 'border-box',
zIndex: '1',
backgroundClip: 'padding-box'
backgroundClip: 'padding-box',
flexShrink: 0
},

divider_vertical: {
Expand All @@ -162,7 +161,7 @@ export default class SplitPane extends Component {
// trigger in all the draggable area of the screen
// this is not the case due to hterm's <iframe>
shim: {
position: 'absolute',
position: 'fixed',
top: 0,
left: 0,
right: 0,
Expand Down

0 comments on commit 202b046

Please sign in to comment.