refactor: remove scrollbar hiding styles and adjust overflow for scroll-locked state
This commit is contained in:
parent
3a81a96316
commit
cb7743fe07
@ -380,18 +380,10 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/* https://github.com/shadcn-ui/ui/issues/4227#issuecomment-2438290165 */
|
||||||
* Hide scrollbar for layout shift when using the theme selector
|
html body[data-scroll-locked] {
|
||||||
*/
|
overflow: visible !important;
|
||||||
/* Hide scrollbar for Chrome, Safari and Opera */
|
margin-right: 0 !important;
|
||||||
::-webkit-scrollbar {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Hide scrollbar for IE, Edge and Firefox */
|
|
||||||
* {
|
|
||||||
-ms-overflow-style: none; /* IE and Edge */
|
|
||||||
scrollbar-width: none; /* Firefox */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fix for Fumadocs empty banner appearing in Cloudflare Worker */
|
/* Fix for Fumadocs empty banner appearing in Cloudflare Worker */
|
||||||
|
Loading…
Reference in New Issue
Block a user