提交
This commit is contained in:
1 parent
06956b742b
commit
e59b2aa6cb
104 files changed
+653227
-7621
No files matched your search
@@ -6,10 +6,6 @@
|
||||
</div>
|
||||
|
||||
<div id="app-portal-body">
|
||||
<aside id="app-sidebar">
|
||||
<ArtSidebarMenu />
|
||||
</aside>
|
||||
|
||||
<main id="app-workspace">
|
||||
<div id="app-content">
|
||||
<ArtPageContent />
|
||||
|
||||
@@ -2,7 +2,10 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
/* 锁死视口高度,避免「顶栏 + calc(100vh-56)」叠出外层纵向滚动条 */
|
||||
height: 100vh;
|
||||
max-height: 100vh;
|
||||
overflow: hidden;
|
||||
background: var(--mint-bg-page);
|
||||
|
||||
#app-portal-header {
|
||||
@@ -14,25 +17,17 @@
|
||||
#app-portal-body {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: row;
|
||||
flex-direction: column;
|
||||
/* 由 flex 吃掉顶栏剩余高度,勿再写 calc(100vh - 56px) */
|
||||
min-height: 0;
|
||||
height: calc(100vh - 56px);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#app-sidebar {
|
||||
flex-shrink: 0;
|
||||
height: 100%;
|
||||
/* 边框画在 aside 上:内部 .menu-left 与侧栏同宽时会盖住 .layout-sidebar 的 border */
|
||||
border-right: 1px solid var(--mint-border, #d9e8e2);
|
||||
background: var(--mint-surface, #fff);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#app-workspace {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
@@ -68,48 +63,18 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* 页面主标题已移至门户顶栏居中展示 */
|
||||
:deep(
|
||||
.page-container .panel-top:not(.panel-top-with-actions):not(.user-dept-aside__head):not(
|
||||
.storage-aside__head
|
||||
):not(.storage-content-header),
|
||||
.console-container .panel-top
|
||||
) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:deep(.panel-top.panel-top-with-actions .title-bar-heading) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:deep(.panel-top.panel-top-with-actions:not(:has(.panel-top-main))) {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (width <= 1180px) {
|
||||
.app-layout-portal {
|
||||
#app-portal-body {
|
||||
height: calc(100dvh - 56px);
|
||||
}
|
||||
height: 100dvh;
|
||||
max-height: 100dvh;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (width <= 800px) {
|
||||
.app-layout-portal {
|
||||
#app-portal-body {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#app-sidebar {
|
||||
position: fixed;
|
||||
top: 56px;
|
||||
left: 0;
|
||||
z-index: 300;
|
||||
height: calc(100vh - 56px);
|
||||
}
|
||||
|
||||
#app-workspace {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user