Skip to content

Commit 9118e6a

Browse files
committed
MC-3870: Background does not conform to border radius for banner, image, contained row & video
Fix frontend border-radius application for banner and image
1 parent 354ba40 commit 9118e6a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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
@@ -9,6 +9,7 @@
99

1010
[data-role='banner'] {
1111
> a {
12+
border-radius: inherit;
1213
color: inherit;
1314
text-decoration: inherit;
1415

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ figure[data-role='image'] {
1111
box-sizing: border-box;
1212
width: 100%;
1313

14-
> [data-element='link'] {
14+
> [data-element='link'],
15+
> [data-element='link'] img {
1516
border-radius: inherit;
1617
}
1718

0 commit comments

Comments
 (0)