Skip to content

Commit 14a1424

Browse files
author
Hwashiang Yu
committed
MC-13925: Hard Coded Margins On individual Button
- Removed hard coded 1px border from button items - Moved default margin of button item to link data-element from pagebuilder-button-item class
1 parent 6c806ef commit 14a1424

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
@@ -9,8 +9,8 @@
99

1010
.pagebuilder-content-type {
1111
.pagebuilder-button-item {
12+
border: none;
1213
font-size: 0;
13-
margin: 0 10px 10px 0;
1414
max-width: 100%;
1515
width: auto;
1616
z-index: auto;
@@ -26,6 +26,7 @@
2626
}
2727

2828
a[data-element='link'] {
29+
margin: 0 10px 10px 0;
2930
max-width: 100%;
3031
min-width: 0;
3132
position: relative;

0 commit comments

Comments
 (0)