Skip to content

Commit aaf376c

Browse files
author
Hwashiang Yu
committed
MC-3477: Polish prototype and apply rearranging in preview
- Fixed rearranging handle positioning on edge cases.
1 parent ed9930c commit aaf376c

File tree

1 file changed

+4
-2
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/button-item

1 file changed

+4
-2
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/button-item/_default.less

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
.pagebuilder-button-item {
1212
&.pagebuilder-content-type-active {
1313
.button-item-drag-handle {
14+
position: absolute;
1415
&.disabled:before {
1516
color: @color-light-gray;
1617
cursor: not-allowed;
@@ -30,9 +31,10 @@
3031
cursor: -webkit-grab;
3132
display: inline-block;
3233
font-size: 16px;
33-
left: 0;
34+
left: -16px;
3435
line-height: 2.2rem;
35-
position: absolute;
36+
position: relative;
37+
width: 0;
3638
}
3739

3840
&:active:before {

0 commit comments

Comments
 (0)