生产管理系统 修复左侧菜单栏布局。并且页面布局全解决

This commit is contained in:
2025-10-23 08:35:22 +08:00
parent 8da01a207d
commit ed642fc9c7
3 changed files with 5 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import {Navbar1} from "@/components/layouts/Navbar"
import {Navbar1} from "@/components/layouts/NavBar"
import {SideBarOld} from '@/components/layouts/SideBar/SideBarOld'
import '@/styles/globals.css'

View File

@@ -77,7 +77,7 @@ export function LeftSidebar({
return (
<div
className={cn(
"bg-white border-r border-gray-200 transition-all duration-300 flex flex-col",
"bg-white border-r border-gray-200 transition-all duration-300 flex flex-col h-full",
isMobile ? "fixed inset-y-0 left-0 z-50" : "relative",
isCollapsed ? "w-16" : "w-64"
)}

View File

@@ -14,6 +14,9 @@
height: 100%;
overflow-y: auto;
}
.sidebarScroll>div{
height: 100%;
}
.contentScroll{
height: 100%;