mirror of
https://github.com/gotson/komga.git
synced 2026-04-21 14:30:50 +02:00
wrap tabs in app bar
This commit is contained in:
parent
a43448e211
commit
ffdd330ed4
1 changed files with 14 additions and 8 deletions
|
|
@ -1,12 +1,18 @@
|
|||
<template>
|
||||
<v-tabs :items="routes">
|
||||
<template #tab="{ item: route }">
|
||||
<v-tab
|
||||
:text="route.title"
|
||||
:to="route.to"
|
||||
/>
|
||||
</template>
|
||||
</v-tabs>
|
||||
<v-app-bar>
|
||||
<v-tabs
|
||||
:items="routes"
|
||||
center-active
|
||||
grow
|
||||
>
|
||||
<template #tab="{ item: route }">
|
||||
<v-tab
|
||||
:text="route.title"
|
||||
:to="route.to"
|
||||
/>
|
||||
</template>
|
||||
</v-tabs>
|
||||
</v-app-bar>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
|
|
|||
Loading…
Reference in a new issue