Skip to content

Commit 1efdfca

Browse files
committed
MC-15742: Hard Coded 35px Margin Bottom On Slider on Storefront
- unset and reset line-height to adjust slider container height
1 parent bf7b602 commit 1efdfca

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
[data-content-type='slide'] {
1111
box-sizing: border-box;
12+
line-height: 20px;
1213
min-height: inherit;
1314
overflow: hidden;
1415

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ div[data-content-type='slider'] {
2020
min-height: inherit;
2121

2222
> div {
23+
line-height: 0;
2324
min-height: inherit;
2425
overflow: hidden;
2526
width: 100%;

0 commit comments

Comments
 (0)