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
commit ef3aa3e61f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 { .hasTagsView .fixed-header + .app-main {
min-height: 100vh;
padding-top: $navbar-height + $tags-view-height; 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); min-height: calc(100vh - $navbar-height - $tags-view-height);
} }
.fixed-header + .app-main {
min-height: calc(100vh - $navbar-height);
}
.hasTagsView .fixed-header + .app-main { .hasTagsView .fixed-header + .app-main {
height: calc(100vh - $navbar-height); height: calc(100vh - $navbar-height);
min-height: calc(100vh - $navbar-height); min-height: calc(100vh - $navbar-height);
padding-top: 34px; padding-top: $tags-view-height;
} }
} }