Skip to content

Commit ff38ce3

Browse files
committed
MC-3508: Variable value on storefront is not wrapped in side Column container
- fix wrap on non-active Tabs - add wrap for HTML
1 parent 75a77d9 commit ff38ce3

File tree

5 files changed

+26
-2
lines changed

5 files changed

+26
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
height: 60px;
2828
overflow: hidden;
2929
position: relative;
30-
white-space: pre;
30+
word-wrap: break-word;
31+
3132
&:before {
3233
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, @color-gray98 100%);
3334
bottom: 0;

app/code/Magento/PageBuilder/view/frontend/web/css/source/content-type/_import.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
@import 'column/_import.less';
1414
@import 'column-group/_import.less';
1515
@import 'heading/_import.less';
16+
@import 'html/_import.less';
1617
@import 'image/_import.less';
1718
@import 'map/_import.less';
1819
@import 'products/_import.less';
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// /**
2+
// * Copyright © Magento, Inc. All rights reserved.
3+
// * See COPYING.txt for license details.
4+
// */
5+
6+
//
7+
// Default appearance styles
8+
// _____________________________________________
9+
10+
[data-role='html'] {
11+
word-wrap: break-word;
12+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// /**
2+
// * Copyright © Magento, Inc. All rights reserved.
3+
// * See COPYING.txt for license details.
4+
// */
5+
6+
//
7+
// _import imports all appearance less files
8+
// _____________________________________________
9+
10+
@import './_default.less';

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ div[data-role='tabs'] {
5050
transition: all .3s;
5151
vertical-align: middle;
5252
white-space: normal;
53+
word-break: break-all;
5354

5455
span.tab-title {
5556
display: block;
@@ -71,7 +72,6 @@ div[data-role='tabs'] {
7172
a.tab-title {
7273
position: relative;
7374
transition: all .3s;
74-
word-break: break-all;
7575
}
7676
}
7777
}

0 commit comments

Comments
 (0)