Skip to content

Commit 9a53ac9

Browse files
Removed "bottom: 0" from ".ui-resizable-sw"
See issue #1853 for details. In summary: this proposed change aligns the -sw grid-item sizing icon to have the same 4px bottom as its -se variant. I can confirm this works on Chrome, Edge and Firefox with no performance issues.
1 parent 1cb5715 commit 9a53ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gridstack.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ $animation_speed: .3s !default;
8787
> .ui-resizable-e { cursor: e-resize; width: 10px; top: 15px; bottom: 15px; }
8888
> .ui-resizable-se { cursor: se-resize; width: 20px; height: 20px;}
8989
> .ui-resizable-s { cursor: s-resize; height: 10px; left: 25px; bottom: 0; right: 25px; }
90-
> .ui-resizable-sw { cursor: sw-resize; width: 20px; height: 20px; bottom: 0; }
90+
> .ui-resizable-sw { cursor: sw-resize; width: 20px; height: 20px;}
9191
> .ui-resizable-w { cursor: w-resize; width: 10px; top: 15px; bottom: 15px; }
9292

9393
&.ui-draggable-dragging {

0 commit comments

Comments
 (0)