mirror of
https://github.com/henrygd/beszel.git
synced 2026-09-25 02:47:46 +02:00
fix(site): prevent scrollbar layout shifts (#2406)
This commit is contained in:
@@ -141,6 +141,17 @@
|
||||
overflow-anchor: none;
|
||||
}
|
||||
|
||||
html {
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
@supports (scrollbar-gutter: stable) {
|
||||
/* Radix scroll lock adds this margin even though the viewport keeps its gutter. */
|
||||
html body[data-scroll-locked] {
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
@apply bg-background text-foreground;
|
||||
font-variant-ligatures: no-contextual;
|
||||
@@ -191,4 +202,4 @@
|
||||
|
||||
.recharts-yAxis {
|
||||
@apply tabular-nums;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user