From c644d527dffac7aa0b9988237bc0515a61f89ad6 Mon Sep 17 00:00:00 2001 From: David Nguyen Date: Wed, 27 Mar 2024 19:10:12 +0800 Subject: [PATCH] fix: remove scrollbar gutter (#1063) ## Description Currently opening modals, clicking select boxes or using anything from radix that overlays the screen in some way will shift the screen. This can be easily noticeable when changing the document "Period" selector on the /documents page. ## Changes Made Undo the gutter change for now. Can find a proper solution another time. https://github.com/documenso/documenso/assets/20962767/5bcae576-2944-4ae5-a2c3-0589e7f61bdb --- packages/ui/styles/theme.css | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/packages/ui/styles/theme.css b/packages/ui/styles/theme.css index de1927f73..cb2d9d5c5 100644 --- a/packages/ui/styles/theme.css +++ b/packages/ui/styles/theme.css @@ -91,11 +91,6 @@ @apply border-border; } - html, - body { - scrollbar-gutter: stable; - } - body { @apply bg-background text-foreground; font-feature-settings: 'rlig' 1, 'calt' 1; @@ -130,11 +125,11 @@ background: rgb(100 116 139 / 0.5); } - /* Custom Swagger Dark Theme */ +/* Custom Swagger Dark Theme */ .swagger-dark-theme .swagger-ui { filter: invert(88%) hue-rotate(180deg); } .swagger-dark-theme .swagger-ui .microlight { filter: invert(100%) hue-rotate(180deg); -} \ No newline at end of file +}