add preview style for FileViewer.vue tab

This commit is contained in:
Timi
2025-07-11 20:12:08 +08:00
parent d885beb56d
commit 8e2f49b243

View File

@ -15,10 +15,12 @@
@click="file.isPreview = false" @click="file.isPreview = false"
> >
<template #label> <template #label>
<span <span
v-text="file.name" class="black"
@click="file.isPreview = false" :class="{ 'light-gray': file.isPreview }"
></span> v-text="file.name"
@click="file.isPreview = false"
></span>
</template> </template>
</t-tab-panel> </t-tab-panel>
</t-tabs> </t-tabs>