fix: 修复隐藏标签页问题 (#69)

* fix: 修复隐藏标签页问题
This commit is contained in:
一万
2021-10-23 22:50:03 +08:00
committed by GitHub
parent 7dcf98a178
commit 70af35dbf5
3 changed files with 25 additions and 3 deletions

View File

@@ -513,10 +513,14 @@
}
body[data-layout="vertical"] {
.fixed-header + .app-main {
.fixed-header + .app-main[data-show-tag="false"] {
padding-top: 85px;
}
.fixed-header + .app-main[data-show-tag="true"] {
padding-top: 48px;
}
.hideSidebar {
.fixed-header {
width: calc(100% - 54px) !important;
@@ -573,8 +577,12 @@ body[data-layout="horizontal"] {
transition: none !important;
}
.fixed-header + .app-main {
padding-top: 98px;
.fixed-header + .app-main[data-show-tag="false"] {
padding-top: 100px;
}
.fixed-header + .app-main[data-show-tag="true"] {
padding-top: 62px;
}
}