Skip to content

Commit dd78299

Browse files
authored
Merge pull request #1 from krz0001/x-overflow-fix
Fix Hero component gradient width to use 100% instead of 100vw
2 parents 489fe3d + 4fbc738 commit dd78299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/overrides/Hero.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ if (image) {
6464
z-index: -1;
6565
top: calc(var(--sl-nav-height) + var(--sl-mobile-toc-height));
6666
left: 0;
67-
width: 100vw;
67+
width: 100%;
6868
height: calc(20rem + clamp(2.5rem, calc(1rem + 10vmin), 10rem));
6969

7070
/* Dark gradient */

0 commit comments

Comments
 (0)