fix linting

This commit is contained in:
Anton Tranelis 2025-04-17 11:44:39 +01:00
parent 4f768fe2dc
commit fc1cff83cf

View File

@ -36,12 +36,12 @@ export function SideBar({ routes, bottomRoutes }: { routes: Route[]; bottomRoute
id='sidenav' id='sidenav'
className={`${appState.sideBarOpen ? 'tw:translate-x-0' : 'tw:-translate-x-full'} className={`${appState.sideBarOpen ? 'tw:translate-x-0' : 'tw:-translate-x-full'}
${appState.sideBarSlim ? 'tw:w-14' : 'tw:w-48'} ${appState.sideBarSlim ? 'tw:w-14' : 'tw:w-48'}
${appState.embedded ? 'tw:mt-5.5 tw:h-[calc(100dvh-22px)]' : 'tw:mt-16 tw:h-[calc(100dvh-64px)]'} ${appState.embedded ? 'tw:mt-5.5 tw:h-[calc(100dvh-22px)]' : 'tw:mt-16 tw:h-[calc(100dvh-64px)]'}
tw:fixed tw:left-0 tw:transition-all tw:duration-300 tw:top-0 tw:z-10035 tw:fixed tw:left-0 tw:transition-all tw:duration-300 tw:top-0 tw:z-10035
tw:overflow-hidden tw:shadow-xl tw:dark:bg-zinc-800`} tw:overflow-hidden tw:shadow-xl tw:dark:bg-zinc-800`}
> >
<div <div
className={`tw:flex tw:flex-col ${appState.embedded ? 'tw:h-full' : 'tw:h-[calc(100dvh-64px)]'}`} className={`tw:flex tw:flex-col ${appState.embedded ? 'tw:h-full' : 'tw:h-[calc(100dvh-64px)]'}`}
> >
<ul className='tw:menu tw:w-full tw:bg-base-100 tw:text-base-content tw:p-0'> <ul className='tw:menu tw:w-full tw:bg-base-100 tw:text-base-content tw:p-0'>
{routes.map((route, k) => { {routes.map((route, k) => {