File tree Expand file tree Collapse file tree 2 files changed +46
-9
lines changed
app/code/Magento/PageBuilder/view
adminhtml/web/css/source/content-type/products
frontend/web/css/source/content-type/products Expand file tree Collapse file tree 2 files changed +46
-9
lines changed Original file line number Diff line number Diff line change 38
38
39
39
.product-item {
40
40
display : inline-block ;
41
- min-width : 200px ;
41
+ max-width : 100% ;
42
+ min-width : 50px ;
42
43
padding-left : 20px ;
43
44
vertical-align : top ;
44
- width : 100 % / 4 ;
45
+ width : 200 px ;
45
46
46
47
& :extend(.abs-add-box-sizing all );
47
48
48
49
49
50
.price-box {
50
51
margin : @indent__s 0 @indent__m ;
52
+ word-wrap : break-word ;
51
53
52
54
.price {
53
55
font-weight : @font-weight__bold ;
54
- white-space : nowrap ;
55
56
}
56
57
57
58
.price-label {
90
91
}
91
92
92
93
.actions-primary {
93
- display : table-cell ;
94
+ display : inline-block ;
95
+ max-width : 100% ;
94
96
95
97
+ .actions-secondary {
96
- display : table-cell ;
98
+ display : inline-block ;
97
99
padding-left : 10px ;
98
100
vertical-align : middle ;
99
- width : 50% ;
100
101
101
102
> .action {
102
103
color : @color-very-dark-gray ;
115
116
}
116
117
117
118
.action {
119
+ max-width : 100% ;
118
120
& .tocart {
119
121
.lib-font-size (13px );
120
122
border-radius : 0 ;
121
123
line-height : 1 ;
122
124
padding-bottom : @indent__s ;
123
125
padding-top : @indent__s ;
124
- white-space : nowrap ;
126
+ > span {
127
+ white-space : normal ;
128
+ word-wrap : break-word ;
129
+ }
125
130
}
126
131
127
132
& .primary {
283
288
.pagebuilder-products {
284
289
.product-item {
285
290
margin-left : calc (~ ' (100% - 5 * (100%/6)) / 4' );
286
- width : 100% / 6 ;
291
+ // width: 100%/6;
287
292
288
293
& :nth- child(4 n + 1 ) {
289
294
margin-left : calc (~ ' (100% - 5 * (100%/6)) / 4' );
Original file line number Diff line number Diff line change 10
10
.pagebuilder-column {
11
11
.widget-product-grid {
12
12
.product-item {
13
- min-width : 200px ;
13
+ max-width : 100% ;
14
+ min-width : 50px ;
15
+ .price-box {
16
+ word-wrap : break-word ;
17
+ .price {
18
+ white-space : normal ;
19
+ }
20
+ }
21
+ .product-item-actions {
22
+ .actions-primary {
23
+ display : inline-block ;
24
+ max-width : 100% ;
25
+ }
26
+ .actions-secondary {
27
+ display : inline-block ;
28
+ width : auto ;
29
+ }
30
+ .tocart {
31
+ max-width : 100% ;
32
+ white-space : normal ;
33
+ }
34
+ }
35
+ }
36
+ }
37
+ [data- role= ' products' ] {
38
+ .block.widget {
39
+ .products-grid {
40
+ .widget-product-grid.product-items {
41
+ .product-item {
42
+ width : 200px ;
43
+ }
44
+ }
45
+ }
14
46
}
15
47
}
16
48
}
You can’t perform that action at this time.
0 commit comments