Skip to content

Commit 7ba5008

Browse files
MC-3706: Move Handle Not Vertically Centered On Button
- vertically center move handle
1 parent 0016f6c commit 7ba5008

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@
4343
cursor: -moz-grab;
4444
cursor: -webkit-grab;
4545
left: 0;
46+
margin-top: -(@pagebuilder-button__font-size/2);
4647
position: absolute;
48+
top: 50%;
4749

4850
&:active {
4951
cursor: grabbing;
@@ -56,7 +58,6 @@
5658
content: @icon-gripper__content;
5759
display: inline-block;
5860
font-size: @pagebuilder-button__font-size;
59-
line-height: @pagebuilder-button__line-height;
6061
position: absolute;
6162
}
6263

0 commit comments

Comments
 (0)