From 2cc65e8783a3c9b7847346c63a9899945171c3b7 Mon Sep 17 00:00:00 2001 From: Aarnav Tale Date: Sat, 4 May 2024 15:04:40 -0400 Subject: [PATCH] chore: do a feature check for scrollbar-gutter-stable --- app/tailwind.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/tailwind.css b/app/tailwind.css index b5c61c9..ba2eca1 100644 --- a/app/tailwind.css +++ b/app/tailwind.css @@ -1,3 +1,14 @@ @tailwind base; @tailwind components; @tailwind utilities; + +@supports (scrollbar-gutter: stable) { + html { + scrollbar-gutter: stable + } + + html body { + margin-right: 0!important; + --removed-body-scroll-bar-size: 0 !important + } +}