fix(AppMain): 🐛 修复混合模式开启固定Head时的样式问题

This commit is contained in:
cshaptx4869 2024-02-29 23:33:00 +08:00
parent fdb5d85b80
commit 68f32bb418
1 changed files with 6 additions and 1 deletions

View File

@ -40,6 +40,7 @@ const cachedViews = computed(() => useTagsViewStore().cachedViews); // 缓存页
}
.hasTagsView .fixed-header + .app-main {
min-height: 100vh;
padding-top: $navbar-height + $tags-view-height;
}
@ -62,10 +63,14 @@ const cachedViews = computed(() => useTagsViewStore().cachedViews); // 缓存页
min-height: calc(100vh - $navbar-height - $tags-view-height);
}
.fixed-header + .app-main {
min-height: calc(100vh - $navbar-height);
}
.hasTagsView .fixed-header + .app-main {
height: calc(100vh - $navbar-height);
min-height: calc(100vh - $navbar-height);
padding-top: 34px;
padding-top: $tags-view-height;
}
}