Skip to content
Snippets Groups Projects
Verified Commit 8756d339 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3222784 by ahsannazir, Gauravvvv, zenimagine, shweta__sharma, mherchel,...

Issue #3222784 by ahsannazir, Gauravvvv, zenimagine, shweta__sharma, mherchel, kostyashupenko: Olivero: 'wide-content' utility class breaks layout when placed in 'Hero' region
parent 803fa695
No related branches found
No related tags found
No related merge requests found
...@@ -52,8 +52,8 @@ ...@@ -52,8 +52,8 @@
/* Ensure that image doesn't overlap layout builder sections when editing layouts. */ /* Ensure that image doesn't overlap layout builder sections when editing layouts. */
.layout-builder .wide-content { .layout-builder .wide-content,
.region--hero .wide-content {
max-width: 100%; max-width: 100%;
margin-inline-start: 0; margin-inline: 0;
margin-inline-end: 0;
} }
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
} }
/* Ensure that image doesn't overlap layout builder sections when editing layouts. */ /* Ensure that image doesn't overlap layout builder sections when editing layouts. */
.layout-builder .wide-content { .layout-builder .wide-content,
.region--hero .wide-content {
max-width: 100%; max-width: 100%;
margin-inline-start: 0; margin-inline: 0;
margin-inline-end: 0;
} }
...@@ -13,3 +13,8 @@ ...@@ -13,3 +13,8 @@
.region--hero > *:last-child { .region--hero > *:last-child {
margin-block-end: 0; margin-block-end: 0;
} }
.region--hero .wide-content {
max-width: 100%;
margin-inline: 0;
}
...@@ -9,4 +9,9 @@ ...@@ -9,4 +9,9 @@
& > *:last-child { & > *:last-child {
margin-block-end: 0; margin-block-end: 0;
} }
.wide-content {
max-width: 100%;
margin-inline: 0;
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment