Skip to content

Commit

Permalink
enlarge handle click area (add invisible handle)
Browse files Browse the repository at this point in the history
  • Loading branch information
luncheon committed Sep 15, 2022
1 parent 2a4bfd4 commit 3edfce7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
box-sizing: border-box;
}
:where(:is([data-flex-splitter-horizontal], [data-flex-splitter-vertical]) > [role="separator"]) {
position: relative;
touch-action: none;
display: flex;
align-items: center;
Expand All @@ -24,6 +25,12 @@
box-sizing: border-box;
border: 4px rgba(160, 160, 160, 0.8);
}
:where(:is([data-flex-splitter-horizontal], [data-flex-splitter-vertical]) > [role="separator"])::after {
content: "";
position: absolute;
width: 24px;
height: 24px;
}
:where([data-flex-splitter-horizontal] > [role="separator"]) {
cursor: ew-resize;
width: 4px;
Expand Down
2 changes: 1 addition & 1 deletion styles.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3edfce7

Please sign in to comment.