fix: mobile navbar is not fixed to the screen
This commit is contained in:
@@ -41,7 +41,7 @@ templ Nav(links []Link) {
|
||||
<span class="i-solar:hamburger-menu-broken w-2rem h-2rem block">Menu</span>
|
||||
</button>
|
||||
<nav
|
||||
class={ "absolute pb-10 p-5 m-0 b-0 h-100vh bg-black/97 shadow-black shadow-2xl z-1 " +
|
||||
class={ "fixed pb-10 p-5 m-0 b-0 h-100vh bg-black/97 shadow-black shadow-2xl z-1 " +
|
||||
"animate slide-from-r fade-in overflow-hidden cannot-hover" }
|
||||
style="inset: unset; bottom: 0; right: 0; --anim-duration: 300ms; --anim-slide-from-x: 50%;"
|
||||
id="nav-popover"
|
||||
|
||||
Reference in New Issue
Block a user