Skip to content

Commit

Permalink
Improve draggability of resizing corners of items
Browse files Browse the repository at this point in the history
  • Loading branch information
raimohanska committed Sep 18, 2023
1 parent 261d202 commit 071bc84
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions frontend/src/style/board.scss
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@
.context-menu-positioner {
z-index: $z-index-menu;
position: absolute;
pointer-events: none;

> * {
font-size: 1rem;
Expand All @@ -345,6 +346,7 @@
}

.context-menu {
pointer-events: all;
padding: 0.5em;
border: 1px solid #cccccc;
border-radius: 2px;
Expand All @@ -366,10 +368,10 @@

&.item-bottom {
.context-menu {
margin-top: 0.5em;
margin-top: 0.8em;
}
.submenu {
top: 2.8em;
top: 3.1em;
}
}
&.item-top {
Expand Down Expand Up @@ -409,6 +411,7 @@
}

.submenu {
pointer-events: all;
padding: 0.5em;
border: 1px solid #cccccc;
border-radius: 2px;
Expand Down

0 comments on commit 071bc84

Please sign in to comment.