Add vertical and horizontal scroll prevent

This commit is contained in:
2023-09-22 16:24:44 +08:00
parent 182c026aa2
commit 37f35aa0d0
2 changed files with 141 additions and 51 deletions

View File

@@ -43,7 +43,7 @@ const MainFramework: React.FC = () => {
return (
<>
<HideScrollbar ref={hideScrollbarRef} isPreventScroll={preventScroll}>
<HideScrollbar ref={hideScrollbarRef} isPreventVerticalScroll={preventScroll}>
<div className={'body'}>
<header className={'nav' + (navbarHidden ? ' hide' : '')}>
<a className={'logo'} href={'https://fatweb.top'}>