Skip to content

Commit 2a2cf4d

Browse files
committed
fix: gradient background behavior with webkit on horizontal overflow
1 parent 6a1ab64 commit 2a2cf4d

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/styles/global.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,17 @@ code {
399399
.page-surface {
400400
background-attachment: scroll;
401401
}
402+
403+
:root {
404+
--theme-gradient-page:
405+
radial-gradient(
406+
120% 80% at 110% 20%,
407+
var(--theme-glow-strong) 0%,
408+
var(--theme-glow-soft) 45%,
409+
transparent 70%
410+
),
411+
linear-gradient(180deg, var(--theme-bg-base) 0%, var(--theme-bg-base) 100%);
412+
}
402413
}
403414

404415
/* Mermaid diagram styling - reserve space to prevent layout shift */

0 commit comments

Comments
 (0)