Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions lib/registries/addon/components/hero-overlay/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@include primary-color-bg;
background: var(--hero-background-img-url);
background-size: cover;
z-index: -1; /* should be in front of the ::before defined below */
z-index: -1;
display: block;
}

Expand All @@ -22,20 +22,6 @@
}
}

:global(.with-custom-branding) .HeroOverlay {
&::before {
@include primary-color-bg;
display: block;
z-index: -2; /* behind the ::after image */
}

&::after {
opacity: 0.4;
filter: grayscale(1);
z-index: -1;
}
}

.AlignCenter {
align-items: center;
}
Expand Down