fix desktop view navbar
This commit is contained in:
parent
678e2fc0d5
commit
2c43d1970c
1 changed files with 2 additions and 1 deletions
|
|
@ -88,10 +88,11 @@
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
<nav
|
<nav
|
||||||
class="fixed inset-0 z-10 translate-x-full items-center bg-zinc-900 transition-transform lg:relative lg:ml-auto lg:flex lg:bg-transparent"
|
class="fixed inset-0 z-10 translate-x-full items-center bg-zinc-900 transition-transform lg:relative lg:ml-auto lg:flex lg:translate-x-0 lg:bg-transparent"
|
||||||
>
|
>
|
||||||
<div class="flex justify-end p-8">
|
<div class="flex justify-end p-8">
|
||||||
<button
|
<button
|
||||||
|
class="block lg:hidden"
|
||||||
aria-label="close mobile navigation menu"
|
aria-label="close mobile navigation menu"
|
||||||
_="on click add .translate-x-full to <nav /> then remove .overflow-hidden from <body />"
|
_="on click add .translate-x-full to <nav /> then remove .overflow-hidden from <body />"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue