add title and change style for items page

This commit is contained in:
Hayden 2023-01-20 14:06:29 -09:00
parent 110e4810d0
commit 033068af62
No known key found for this signature in database
GPG key ID: 17CF79474E257545

View file

@ -362,6 +362,7 @@
<template> <template>
<BaseContainer v-if="item" class="pb-8"> <BaseContainer v-if="item" class="pb-8">
<Title>{{ item.name }}</Title>
<dialog ref="refDialog" class="z-[999] fixed bg-transparent"> <dialog ref="refDialog" class="z-[999] fixed bg-transparent">
<div ref="refDialogBody" class="relative"> <div ref="refDialogBody" class="relative">
<div class="absolute right-0 -mt-3 -mr-3 sm:-mt-4 sm:-mr-4 space-x-1"> <div class="absolute right-0 -mt-3 -mr-3 sm:-mt-4 sm:-mr-4 space-x-1">
@ -403,14 +404,14 @@
</div> </div>
</template> </template>
</BaseSectionHeader> </BaseSectionHeader>
<div class="flex flex-wrap items-center justify-between mb-6"> <div class="flex flex-wrap items-center justify-between mb-6 mt-3">
<div class="tabs"> <div class="btn-group">
<NuxtLink <NuxtLink
v-for="t in tabs" v-for="t in tabs"
:key="t.id" :key="t.id"
:to="t.to" :to="t.to"
class="tab tab-bordered lg:tab-lg" class="btn btn-sm"
:class="`${t.to === currentPath ? 'tab-active' : ''}`" :class="`${t.to === currentPath ? 'btn-active' : ''}`"
> >
{{ t.name }} {{ t.name }}
</NuxtLink> </NuxtLink>