|
@@ -129,6 +129,13 @@ const DrawerHeader = styled('div')(({ theme }) => ({
|
|
|
gap:'12px',
|
|
gap:'12px',
|
|
|
// backgroundColor:'#000',
|
|
// backgroundColor:'#000',
|
|
|
boxShadow:'var(--widget-shadow)',
|
|
boxShadow:'var(--widget-shadow)',
|
|
|
|
|
+ position:'relative',
|
|
|
|
|
+ '& .logo_con':{
|
|
|
|
|
+ width:'80%'
|
|
|
|
|
+ },
|
|
|
|
|
+ '& .logo_con_m':{
|
|
|
|
|
+ width:'80%'
|
|
|
|
|
+ },
|
|
|
// necessary for content to be below app bar
|
|
// necessary for content to be below app bar
|
|
|
...theme.mixins.toolbar,
|
|
...theme.mixins.toolbar,
|
|
|
}));
|
|
}));
|
|
@@ -488,7 +495,11 @@ const Sidebar = () => {
|
|
|
<DrawerHeader>
|
|
<DrawerHeader>
|
|
|
<SidebarTrigger/>
|
|
<SidebarTrigger/>
|
|
|
{
|
|
{
|
|
|
- open?<Logo/>:<></>
|
|
|
|
|
|
|
+ open?(
|
|
|
|
|
+ <div className={'logo_con'}>
|
|
|
|
|
+ <Logo/>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ ):<></>
|
|
|
}
|
|
}
|
|
|
</DrawerHeader>
|
|
</DrawerHeader>
|
|
|
<div className={`d-flex flex-column sidebar-nav ${visiblecls}`}>
|
|
<div className={`d-flex flex-column sidebar-nav ${visiblecls}`}>
|
|
@@ -520,7 +531,11 @@ const Sidebar = () => {
|
|
|
<DrawerHeader>
|
|
<DrawerHeader>
|
|
|
<SidebarTrigger/>
|
|
<SidebarTrigger/>
|
|
|
{
|
|
{
|
|
|
- open?<Logo/>:<></>
|
|
|
|
|
|
|
+ open?(
|
|
|
|
|
+ <div className={'logo_con_m'}>
|
|
|
|
|
+ <Logo/>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ ):<></>
|
|
|
}
|
|
}
|
|
|
</DrawerHeader>
|
|
</DrawerHeader>
|
|
|
<div className={`d-flex flex-column sidebar-nav ${visiblecls}`}>
|
|
<div className={`d-flex flex-column sidebar-nav ${visiblecls}`}>
|