mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-08-29 10:43:56 +00:00
Fix features link on mobile
This commit is contained in:
@@ -53,7 +53,15 @@ export default function Navbar() {
|
|||||||
onCancel={() => setOpenMenu(false)}
|
onCancel={() => setOpenMenu(false)}
|
||||||
width={window.innerWidth}
|
width={window.innerWidth}
|
||||||
>
|
>
|
||||||
<Link className="hover:bg-zinc-100 block p-3 text-base font-semibold">
|
<Link
|
||||||
|
className="hover:bg-zinc-100 block p-3 text-base font-semibold"
|
||||||
|
onClick={() => {
|
||||||
|
document
|
||||||
|
.getElementById("features")
|
||||||
|
.scrollIntoView({ behavior: "smooth" });
|
||||||
|
setOpenMenu(false);
|
||||||
|
}}
|
||||||
|
>
|
||||||
Features
|
Features
|
||||||
</Link>
|
</Link>
|
||||||
<hr />
|
<hr />
|
||||||
|
Reference in New Issue
Block a user