修复项目页布局高度
Project CI / Frontend tests (pull_request) Successful in 4m30s
Project CI / Repository checks (pull_request) Successful in 4m42s
Project CI / Backend tests (pull_request) Successful in 7m39s
Project CI / Native shell tests (pull_request) Successful in 17m4s

项目页父级改为纵向 flex 并填满可用高度
项目列表容器与表格占满剩余空间
保留项目操作菜单现有定位逻辑
This commit is contained in:
2026-08-31 13:17:11 +08:00
parent cc6211fd41
commit abf5b94f72
+11 -6
View File
@@ -820,12 +820,13 @@ textarea {
}
.launcher-projects-page {
align-content: start;
grid-template-rows: auto minmax(0, 1fr);
display: flex;
flex-direction: column;
gap: 18px;
width: calc(100vw - var(--launcher-sidebar-width));
max-width: none;
height: 100dvh;
flex: 1 1 auto;
height: 100%;
min-height: 0;
margin: 0;
padding: 92px 28px 24px;
@@ -833,7 +834,9 @@ textarea {
}
.launcher-main:has(.launcher-projects-page) {
height: 100dvh;
display: flex;
flex-direction: column;
height: 100%;
min-height: 0;
padding-bottom: 0;
}
@@ -1004,8 +1007,9 @@ textarea {
}
.launcher-project-list-shell {
display: grid;
grid-template-rows: 42px minmax(0, 1fr);
display: flex;
flex-direction: column;
flex: 1 1 auto;
min-height: 0;
overflow: hidden;
border: 1px solid var(--platform-surface-border);
@@ -1046,6 +1050,7 @@ textarea {
.launcher-project-table {
display: grid;
align-content: start;
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
}