mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
Fix silly shifting when hoving a catogory (i cant spel :3)
This commit is contained in:
parent
1fbc023ec5
commit
70b71fa70e
2 changed files with 3 additions and 7 deletions
|
@ -8,6 +8,8 @@ body {
|
|||
min-height: 100vh;
|
||||
min-height: 100dvh;
|
||||
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],
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue