Show pane separators even while split.js is loading, fix Safari layout glitch
This commit is contained in:
parent
703129d3d0
commit
37fb6b9139
|
@ -86,7 +86,7 @@ define(['require'], (require) => {
|
|||
direction: 'vertical',
|
||||
cursor: (options.direction === 'vertical') ?
|
||||
'row-resize' : 'col-resize',
|
||||
gutterSize: 1,
|
||||
gutterSize: 0,
|
||||
onDragStart: () => {
|
||||
oldCursor = document.body.style.cursor;
|
||||
document.body.style.cursor = resolvedOptions.cursor;
|
||||
|
@ -352,7 +352,7 @@ define(['require'], (require) => {
|
|||
direction: 'vertical',
|
||||
snapOffset: 5,
|
||||
sizes: [70, 30],
|
||||
minSize: [100, 0],
|
||||
minSize: [100, 5],
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -66,6 +66,9 @@ html, body {
|
|||
display: inline-block;
|
||||
width: 30%;
|
||||
height: 100%;
|
||||
border-right: 1px solid #808080;
|
||||
box-sizing: border-box;
|
||||
vertical-align: top; /* Safari fix */
|
||||
}
|
||||
|
||||
.pane-code {
|
||||
|
@ -76,6 +79,8 @@ html, body {
|
|||
background: #EEEEEE;
|
||||
user-select: none;
|
||||
height: 30%;
|
||||
border-top: 1px solid #808080;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.pane-view {
|
||||
|
@ -83,11 +88,11 @@ html, body {
|
|||
width: 70%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
vertical-align: top; /* Safari fix */
|
||||
}
|
||||
|
||||
.gutter {
|
||||
display: inline-block;
|
||||
background: #808080;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
|
|
Loading…
Reference in New Issue