生产管理系统 修复左侧菜单栏布局。并且页面布局全解决
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import {Navbar1} from "@/components/layouts/Navbar"
|
import {Navbar1} from "@/components/layouts/NavBar"
|
||||||
import {SideBarOld} from '@/components/layouts/SideBar/SideBarOld'
|
import {SideBarOld} from '@/components/layouts/SideBar/SideBarOld'
|
||||||
import '@/styles/globals.css'
|
import '@/styles/globals.css'
|
||||||
|
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ export function LeftSidebar({
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={cn(
|
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",
|
isMobile ? "fixed inset-y-0 left-0 z-50" : "relative",
|
||||||
isCollapsed ? "w-16" : "w-64"
|
isCollapsed ? "w-16" : "w-64"
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -14,6 +14,9 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
.sidebarScroll>div{
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.contentScroll{
|
.contentScroll{
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user