fix: 🐛 样式优化

This commit is contained in:
郝先瑞
2024-02-23 17:43:46 +08:00
parent 66f37cb31d
commit 5256f5a1db
2 changed files with 11 additions and 13 deletions

View File

@@ -26,7 +26,7 @@
> >
<template #reference> <template #reference>
<div <div
class="cursor-pointer text-[#999] absolute-tr height-[32px] leading-[32px] px-1" class="cursor-pointer text-[#999] absolute-rt height-[32px] leading-[32px] px-1"
@click="popoverVisible = !popoverVisible" @click="popoverVisible = !popoverVisible"
> >
<i-ep-caret-top v-show="popoverVisible" /> <i-ep-caret-top v-show="popoverVisible" />

View File

@@ -35,15 +35,8 @@ const cachedViews = computed(() => useTagsViewStore().cachedViews); // 缓存页
padding-top: $navbar-height; padding-top: $navbar-height;
} }
.hasTagsView { .hasTagsView .fixed-header + .app-main {
.app-main,
.fixed-header + .app-main {
min-height: calc(100vh - $navbar-height - $tags-view-height);
}
.fixed-header + .app-main {
padding-top: $navbar-height + $tags-view-height; padding-top: $navbar-height + $tags-view-height;
}
} }
.layout-mix, .layout-mix,
@@ -60,10 +53,15 @@ const cachedViews = computed(() => useTagsViewStore().cachedViews); // 缓存页
overflow-y: auto; overflow-y: auto;
} }
.hasTagsView .app-main, .hasTagsView .app-main {
.hasTagsView .fixed-header + .app-main {
height: calc(100vh - $navbar-height - $tags-view-height); height: calc(100vh - $navbar-height - $tags-view-height);
padding-top: $tags-view-height; min-height: calc(100vh - $navbar-height - $tags-view-height);
}
.hasTagsView .fixed-header + .app-main {
height: calc(100vh - $navbar-height);
min-height: calc(100vh - $navbar-height);
padding-top: 34px;
} }
} }