fix: prevent background bleed
vi did:web:vt3e.cat
Mon, 11 May 2026 02:46:46 +0100
1 files changed,
4 insertions(+),
4 deletions(-)
jump to
M
src/layouts/Layout.astro
→
src/layouts/Layout.astro
@@ -71,9 +71,9 @@ z-index: 1;
background: hsla(var(--crust) / 1); box-shadow: 0 0.5rem 2rem hsla(var(--shadow) / 0.5); - width: calc(100% - 1rem); + width: calc(100% - 0.2rem); max-width: 60ch; - margin: 90dvh 0.5rem 0 0.5rem; + margin: 90dvh 0.1rem 0 0.1rem; border-radius: 2rem 2rem 0 0; overflow: hidden;@@ -92,7 +92,7 @@ &::after {
--height: 0.5rem; content: ""; position: absolute; - top: 100%; + top: calc(100% - 1px); left: 0; display: block; width: 100%;@@ -161,7 +161,7 @@ &::after {
--height: 0.5rem; content: ""; position: absolute; - bottom: calc(var(--height) * -1); + top: calc(100% - 1px); left: 0; display: block; width: 100%;