Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions web-admin/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@
/* Reserve the scrollbar's width on every page: without it, leaving a route
whose content exceeds the fold widens the page. */
html { scrollbar-gutter: stable; }
/* A dialog locking the page adds a right margin the width of the scrollbar,
which the gutter above already holds: counted twice, it would shift the page
half a scrollbar left on every open. The dialog's rule is injected at run
time with equal specificity, hence the extra `html`. */
html body[data-scroll-locked] { margin-right: 0 !important; }
body { @apply bg-background text-foreground; }
/* Tailwind v4 leaves `button` and `input` on the browser's default cursor,
where v3 made buttons a pointer. Radix renders Switch as a button, so without
Expand Down
Loading