Fix silly shifting when hoving a catogory (i cant spel :3)

This commit is contained in:
Cooper Ransom 2024-04-03 20:32:03 -04:00
parent 1fbc023ec5
commit 70b71fa70e
2 changed files with 3 additions and 7 deletions

View File

@ -7,7 +7,9 @@ body {
@apply bg-background-main font-main text-type-text;
min-height: 100vh;
min-height: 100dvh;
font-size: 1.0235em;
font-size: 1.0235em;
scrollbar-width: none; /* Hide scrollbar for Firefox */
-ms-overflow-style: none; /* Hide scrollbar for Internet Explorer and Edge */
}
html[data-full],

View File

@ -242,12 +242,6 @@ export function Discover() {
setIsHovered(false);
};
useEffect(() => {
return () => {
document.documentElement.style.scrollbarWidth = "none";
};
}, []);
function renderMovies(medias: Media[], category: string, isTVShow = false) {
const categorySlug = category.toLowerCase().replace(/ /g, "-"); // Convert the category to a slug
const displayCategory =