Skip to content

Commit 45acaa2

Browse files
author
Hwashiang Yu
committed
MC-878: Button stretches outside parent when button has a lot of text
- Added word wrapping for firefox
1 parent a1248d9 commit 45acaa2

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
a[data-element='link'] {
3030
max-width: 100%;
3131
transition: min-width .5s ease;
32+
word-wrap: break-word;
3233
[data-element='link_text'] {
3334
max-width: 100%;
3435
}

0 commit comments

Comments
 (0)