Web: wykres tla slownika na cala szerokosc okna (full-bleed) bez uciecia

This commit is contained in:
tisachi
2026-10-20 02:30:52 +02:00
parent dd4021fc43
commit 31d280bcdb
2 changed files with 6 additions and 1 deletions

View File

@@ -62,7 +62,11 @@ function ChartBackdrop() {
}, []);
return (
<div ref={wrapRef} aria-hidden="true" className="pointer-events-none absolute inset-0 z-0">
<div
ref={wrapRef}
aria-hidden="true"
className="pointer-events-none absolute inset-y-0 left-1/2 z-0 w-screen -translate-x-1/2"
>
<svg viewBox="0 0 1000 700" preserveAspectRatio="none" className="h-full w-full">
<defs>
<linearGradient id="chart-fill" x1="0" y1="0" x2="0" y2="1">

View File

@@ -207,6 +207,7 @@
color: var(--text);
font-size: 15px;
-webkit-font-smoothing: antialiased;
overflow-x: clip;
}
/* ciepła poświata u góry widoku */