fix: implement dedicated .workspace-container class to prevent dashboard sidebar overlap
This commit is contained in:
parent
79d27e736f
commit
5e9be8cbf8
2 changed files with 12 additions and 1 deletions
|
|
@ -1998,7 +1998,7 @@ export default function App() {
|
|||
</aside>
|
||||
|
||||
{/* Main Workspace Frame */}
|
||||
<main className="flex-grow md:ml-64 flex flex-col min-h-screen bg-background">
|
||||
<main className="workspace-container bg-background">
|
||||
|
||||
{/* Top Workspace Header */}
|
||||
<header className="h-16 border-b border-[#D9C5B2] bg-white flex items-center justify-between px-8 sticky top-0 z-30">
|
||||
|
|
|
|||
|
|
@ -1405,3 +1405,14 @@ body {
|
|||
color: var(--primary);
|
||||
border-bottom-color: var(--primary);
|
||||
}
|
||||
|
||||
/* Custom Workspace Container for Sidebar Clearance */
|
||||
.workspace-container {
|
||||
margin-left: 16rem;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
width: calc(100% - 16rem);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue