Skip to content

Commit

Permalink
new touch zones split for vertical resizing
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosammito committed Jul 19, 2024
1 parent e2e3971 commit 18b257b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/d-screen/DScreen.style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
width: 100%;
content: "";
left: 0;
bottom: ($height / 2) * -1;
z-index: 999999;
cursor: ns-resize;

&:hover {
Expand All @@ -51,18 +49,20 @@
}

&--top {
bottom: ($height / 2) * -1;
bottom: ($height / 4) * -1;
z-index: 999999;

&:hover::after {
top: ($height / 2) - 1;
top: $height - ($height / 4);
}
}

&--bottom {
top: ($height / 2) * -1;
top: ($height / 4) * -1;
z-index: 999998;

&:hover::after {
top: ($height / 2) - 1;
top: ($height / 4);
}
}

Expand Down

0 comments on commit 18b257b

Please sign in to comment.