Refactor the HideScrollbar. Finish scrollbar in HideScrollbar.

This commit is contained in:
2023-09-24 13:01:58 +08:00
parent 6fc0df74fa
commit 5db14cf033
4 changed files with 257 additions and 160 deletions

View File

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