Make menu flat if collapsed

This commit is contained in:
Jan Eitzinger 2023-08-24 09:38:12 +02:00
parent 204901189d
commit 69b3f767f6

View File

@ -9,12 +9,10 @@
NavbarBrand,
Nav,
NavItem,
NavLink,
NavbarToggler,
Dropdown,
DropdownToggle,
DropdownMenu,
DropdownItem,
InputGroupText,
} from "sveltestrap";
import NavbarLinks from "./NavbarLinks.svelte";
@ -118,7 +116,7 @@
on:update={({ detail }) => (isOpen = detail.isOpen)}
>
<Nav navbar>
{#if screenSize > 1500}
{#if screenSize > 1500 || screenSize < 576}
<NavbarLinks
{clusters}
links={views.filter(