mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
Make menu flat if collapsed
This commit is contained in:
parent
204901189d
commit
69b3f767f6
@ -9,12 +9,10 @@
|
|||||||
NavbarBrand,
|
NavbarBrand,
|
||||||
Nav,
|
Nav,
|
||||||
NavItem,
|
NavItem,
|
||||||
NavLink,
|
|
||||||
NavbarToggler,
|
NavbarToggler,
|
||||||
Dropdown,
|
Dropdown,
|
||||||
DropdownToggle,
|
DropdownToggle,
|
||||||
DropdownMenu,
|
DropdownMenu,
|
||||||
DropdownItem,
|
|
||||||
InputGroupText,
|
InputGroupText,
|
||||||
} from "sveltestrap";
|
} from "sveltestrap";
|
||||||
import NavbarLinks from "./NavbarLinks.svelte";
|
import NavbarLinks from "./NavbarLinks.svelte";
|
||||||
@ -118,7 +116,7 @@
|
|||||||
on:update={({ detail }) => (isOpen = detail.isOpen)}
|
on:update={({ detail }) => (isOpen = detail.isOpen)}
|
||||||
>
|
>
|
||||||
<Nav navbar>
|
<Nav navbar>
|
||||||
{#if screenSize > 1500}
|
{#if screenSize > 1500 || screenSize < 576}
|
||||||
<NavbarLinks
|
<NavbarLinks
|
||||||
{clusters}
|
{clusters}
|
||||||
links={views.filter(
|
links={views.filter(
|
||||||
|
Loading…
Reference in New Issue
Block a user