Skip to content

Commit ee5e3dd

Browse files
authored
Merge pull request #702 from integer32llc/no-scrollbar
Prevent expanding the window size when adjusting the split
2 parents f073d12 + 55be7de commit ee5e3dd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ui/frontend/Playground.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ $splitSecondaryDimension: 1fr;
4040
.splitRowsGutter {
4141
composes: -gutter;
4242
cursor: row-resize;
43+
}
44+
45+
.splitRowsGutterHandle {
46+
pointer-events: none;
4347
transform: rotate(90deg);
4448
}
4549

ui/frontend/Playground.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ const SplitRows: React.SFC<SplitProps> = ({ resizeComplete }) => (
4444
}) => (
4545
<div className={styles.splitRows} {...getGridProps()}>
4646
<div className={styles.editor}><Editor /></div>
47-
<div className={styles.splitRowsGutter} {...getGutterProps('row', 1)}></div>
47+
<div className={styles.splitRowsGutter} {...getGutterProps('row', 1)}>
48+
<span className={styles.splitRowsGutterHandle}></span>
49+
</div>
4850
<div className={styles.output}><Output /></div>
4951
</div>
5052
)} />

0 commit comments

Comments
 (0)