Merge pull request #38 from cshaptx4869/patch-10

fix(AppMain): 🐛 修复混合模式开启固定Header时的样式问题
This commit is contained in:
Ray Hao
2024-02-29 23:44:01 +08:00
committed by GitHub

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;
}
}