style: no double border on the last uses element
vi did:web:vt3e.cat
Wed, 13 May 2026 23:26:19 +0100
2 files changed,
6 insertions(+),
1 deletions(-)
M
src/components/Uses.astro
→
src/components/Uses.astro
@@ -98,6 +98,10 @@ border-top: 2px solid hsla(var(--surface1) / 0.5);
transition: none; + &:last-child { + border-bottom: 2px solid hsla(var(--surface1) / 0.3); + } + .label h4, .value p, .value .subtext { color: hsl(var(--text)); transition: none;
M
src/layouts/Layout.astro
→
src/layouts/Layout.astro
@@ -74,7 +74,8 @@ box-shadow: 0 0.5rem 2rem hsla(var(--shadow) / 0.5);
width: calc(100% - calc(var(--margin) * 2)); max-width: 60ch; - margin: 90dvh var(--margin) 0 var(--margin); + --top: calc(2rem + 2.5rem + 1.25rem + 5rem); + margin: calc(100vh - var(--top)) var(--margin) 0 var(--margin); border-radius: 2rem 2rem 0 0; overflow: hidden;