Skip to content

Commit

Permalink
Fix resize cursor, missing patches for legacy browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed May 12, 2024
1 parent 0ff3e01 commit 8b72365
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cms/static/cms/sass/components/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@
width: $modal-resize-size;
height: $modal-resize-size;
cursor: nw-resize;
&:dir(rtl) {
cursor: ne-resize;
}
span {
position: absolute;
bottom: 5px;
Expand Down
7 changes: 7 additions & 0 deletions cms/static/cms/sass/libs/_rtl_patch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@
float: right;
}

.cms-modal-resize {
cursor: nw-resize;
span {
transform: scale(-1,1) translate(2px, 0); // flip drag triangle
}
}


/* component: structureboard */

Expand Down

0 comments on commit 8b72365

Please sign in to comment.