Skip to content
Snippets Groups Projects
Commit ed84eeb8 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Navigation density compact + nav define for v-list

parent 29e133e9
No related branches found
No related tags found
No related merge requests found
...@@ -7,14 +7,13 @@ ...@@ -7,14 +7,13 @@
<v-toolbar-title>Microbial Warefare</v-toolbar-title> <v-toolbar-title>Microbial Warefare</v-toolbar-title>
<v-btn @click="toggleTheme">toggle theme</v-btn> <v-btn @click="toggleTheme">toggle theme</v-btn>
</v-app-bar> </v-app-bar>
<v-navigation-drawer v-model="drawer"> <v-navigation-drawer v-model="drawer" :border="0">
<v-card flat> <v-card flat>
<v-list> <v-list nav density="compact" :lines="false">
<NavNavigation :navigation="navigation" /> <NavNavigation :navigation="navigation" />
</v-list> </v-list>
</v-card> </v-card>
</v-navigation-drawer> </v-navigation-drawer>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { useTheme } from "vuetify"; import { useTheme } from "vuetify";
......
...@@ -13,7 +13,6 @@ const props = defineProps<{ ...@@ -13,7 +13,6 @@ const props = defineProps<{
<template v-slot:activator="{ props }"> <template v-slot:activator="{ props }">
<v-list-item <v-list-item
v-bind="props" v-bind="props"
nav
:title="navItem.title" :title="navItem.title"
active-color="primary" active-color="primary"
></v-list-item> ></v-list-item>
...@@ -22,7 +21,6 @@ const props = defineProps<{ ...@@ -22,7 +21,6 @@ const props = defineProps<{
</v-list-group> </v-list-group>
<template v-else> <template v-else>
<v-list-item <v-list-item
nav
:title="navItem.title" :title="navItem.title"
:value="navItem.title" :value="navItem.title"
:to="navItem._path" :to="navItem._path"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment