fix(projects): fix header style & fix button highlight when click global-tab. fixed #446

This commit is contained in:
Soybean
2024-05-24 02:12:33 +08:00
parent bc8dc47d7f
commit 64fc0996e3
2 changed files with 10 additions and 2 deletions

View File

@ -47,7 +47,7 @@ const headerMenus = computed(() => {
</script>
<template>
<DarkModeContainer class="h-full flex-y-center shadow-header">
<DarkModeContainer class="h-full flex-y-center px-12px shadow-header">
<GlobalLogo v-if="showLogo" class="h-full" :style="{ width: themeStore.sider.width + 'px' }" />
<HorizontalMenu v-if="showMenu" mode="horizontal" :menus="headerMenus" class="px-12px" />
<div v-else class="h-full flex-y-center flex-1-hidden">