more documentation and cleanup
This commit is contained in:
parent
3962c61162
commit
f39b947717
10 changed files with 165 additions and 57 deletions
|
@ -3,7 +3,7 @@ import { MainSections, ActiveSection } from './primary.mjs'
|
|||
export const AsideNavigation = ({ app, slug, mobileOnly = false, before = [], after = [] }) => (
|
||||
<aside
|
||||
className={`
|
||||
fixed top-0 right-0 h-screen w-screen
|
||||
fixed top-0 right-0 h-screen
|
||||
overflow-y-auto z-20
|
||||
bg-base-100 text-base-content
|
||||
${app.primaryMenu ? '' : 'translate-x-[-120%]'} transition-transform
|
||||
|
@ -13,7 +13,6 @@ export const AsideNavigation = ({ app, slug, mobileOnly = false, before = [], af
|
|||
lg:justify-center
|
||||
lg:border-r-2 lg:border-base-200 lg:bg-base-200 lg:bg-opacity-50
|
||||
${mobileOnly ? 'block lg:hidden' : ''}
|
||||
w-full
|
||||
`}
|
||||
>
|
||||
<div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue