Skip to content

Commit 0016f6c

Browse files
author
Hwashiang Yu
committed
MC-3707: Button type link has text stretching outside button width on storefront
- Updated button item styling on front end to box-sizing border-box.
1 parent d6a3f9b commit 0016f6c

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ button {
2626
);
2727
.lib-css(font-weight, @font-weight__semibold);
2828
box-shadow: none;
29+
box-sizing: border-box;
2930
display: inline-block;
3031
}
3132

0 commit comments

Comments
 (0)