Skip to content

Commit 0d7d851

Browse files
committed
fix: adjust style in tab bar
1 parent 27d081c commit 0d7d851

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "nova-admin",
33
"type": "module",
4-
"version": "0.9.13",
4+
"version": "0.9.14",
55
"private": true,
66
"description": "a clean and concise back-end management template based on Vue3, Vite5, Typescript, and Naive UI.",
77
"author": {

src/layouts/components/tab/TabBar.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const tabStore = useTabStore()
1818
const { tabs } = storeToRefs(useTabStore())
1919
const appStore = useAppStore()
2020
21-
const {scrollbar, onWheel } = useTabScroll(computed(() => tabStore.currentTabPath))
21+
const { scrollbar, onWheel } = useTabScroll(computed(() => tabStore.currentTabPath))
2222
2323
const router = useRouter()
2424
function handleTab(route: RouteLocationNormalized) {
@@ -114,8 +114,8 @@ useDraggable(el, tabs, {
114114
</script>
115115

116116
<template>
117-
<n-scrollbar ref="scrollbar" class="relative flex tab-bar-scroller-wrapper" content-class="pr-34 tab-bar-scroller-content" :x-scrollable="true" @wheel="onWheel">
118-
<div class="p-l-2 flex w-full relative">
117+
<n-scrollbar ref="scrollbar" class="relative flex h-full tab-bar-scroller-wrapper" content-class="pr-34 tab-bar-scroller-content" :x-scrollable="true" @wheel="onWheel">
118+
<div class="p-l-2 flex wh-full relative">
119119
<div class="flex items-end">
120120
<TabBarItem
121121
v-for="item in tabStore.pinTabs" :key="item.fullPath" :value="tabStore.currentTabPath" :route="item"
@@ -140,7 +140,7 @@ useDraggable(el, tabs, {
140140
/>
141141
</div>
142142
</div>
143-
<n-el class="absolute right-0 top-0 flex items-center gap-1 bg-[var(--base-color)] h-full">
143+
<n-el class="absolute right-0 top-0 flex items-center gap-1 bg-[var(--card-color)] h-full">
144144
<Reload />
145145
<ContentFullScreen />
146146
<DropTabs />

0 commit comments

Comments
 (0)