Skip to content

Commit 8a6315f

Browse files
committed
MC-3870: Background does not conform to border radius for banner, image, contained row & video
Add background-clip: padding-box; to .pagebuilder-banner-wrapper
1 parent 5160a0d commit 8a6315f

File tree

2 files changed

+2
-0
lines changed
  • app/code/Magento/PageBuilder/view

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
}
9797

9898
.pagebuilder-banner-wrapper {
99+
background-clip: padding-box;
99100
border-radius: inherit;
100101
}
101102

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
}
2727

2828
.pagebuilder-banner-wrapper {
29+
background-clip: padding-box;
2930
border-radius: inherit;
3031
box-sizing: border-box;
3132
word-break: break-all;

0 commit comments

Comments
 (0)