fix: 🐛 appMain 高度在非固定头部不正确导致出现滚动条问题修复

This commit is contained in:
郝先瑞 2024-02-29 16:49:29 +08:00
parent 5d5d0e46b3
commit 7f6c39a2d3
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,10 @@ const cachedViews = computed(() => useTagsViewStore().cachedViews); // 缓存页
background-color: var(--el-bg-color-page);
}
.hasTagsView .app-main {
min-height: calc(100vh - $navbar-height - $tags-view-height);
}
.fixed-header + .app-main {
min-height: 100vh;
padding-top: $navbar-height;