fix(ui): reserve scrollbar space to prevent layout shift

This commit is contained in:
Herculino Trotta
2026-09-12 17:33:16 -03:00
parent 3a5e688a90
commit fef5c48077
+10
View File
@@ -89,6 +89,16 @@
}
@layer base {
/* Always reserve space for the scrollbar so content doesn't shift when it appears.
`html:root` outranks daisyUI's `:root` rule, which resets the gutter to `unset`
unless a modal/drawer is open. */
html:root {
scrollbar-gutter: stable;
}
}
@layer utilities {
.textarea {
min-height: unset;