This commit is contained in:
tangly1024
2023-06-23 15:56:59 +08:00
parent 5f29858c37
commit a1708605da
7 changed files with 39 additions and 25 deletions

View File

@@ -42,7 +42,7 @@ export default function TopNavBar(props) {
}
return (
<div id='top-nav' className={'sticky top-0 lg:relative w-full z-40 ' + className}>
<div id='top-nav' className={'fixed top-0 w-full z-40 ' + className}>
{/* 移动端折叠菜单 */}
<Collapse type='vertical' collapseRef={collapseRef} isOpen={isOpen} className='md:hidden'>