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>
<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"
>
<i-ep-caret-top v-show="popoverVisible" />

View File

@@ -35,15 +35,8 @@ const cachedViews = computed(() => useTagsViewStore().cachedViews); // 缓存页
padding-top: $navbar-height;
}
.hasTagsView {
.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;
}
.hasTagsView .fixed-header + .app-main {
padding-top: $navbar-height + $tags-view-height;
}
.layout-mix,
@@ -60,10 +53,15 @@ const cachedViews = computed(() => useTagsViewStore().cachedViews); // 缓存页
overflow-y: auto;
}
.hasTagsView .app-main,
.hasTagsView .fixed-header + .app-main {
.hasTagsView .app-main {
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;
}
}