工作台隐藏中控顶栏与报价并铺满视口,登录后默认进入总览。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-04 20:59:09 +08:00
parent f5bddb360a
commit b92c463fb1
3 changed files with 27 additions and 11 deletions
+21 -5
View File
@@ -234,11 +234,24 @@ body.page-instances .main {
max-width: none;
}
}
body.page-desk {
height: 100vh;
overflow: hidden;
}
body.page-desk .topbar-brand,
body.page-desk .topbar-row {
display: none;
}
body.page-desk .main {
max-width: none;
width: 100%;
height: 100vh;
max-height: 100vh;
margin: 0;
padding: 0 12px 14px;
padding: 10px 12px 10px;
display: flex;
flex-direction: column;
overflow: hidden;
}
body.page-login {
min-height: 100vh;
@@ -912,7 +925,8 @@ button, .btn {
display: grid;
grid-template-columns: 220px minmax(0, 1fr);
gap: 12px;
min-height: calc(100vh - 70px);
flex: 1;
min-height: 0;
max-width: none;
transition: grid-template-columns 0.18s ease;
}
@@ -925,7 +939,8 @@ button, .btn {
border-radius: var(--radius);
padding: 10px;
min-width: 0;
overflow: hidden;
min-height: 0;
overflow: auto;
box-shadow: var(--shadow);
backdrop-filter: blur(10px);
}
@@ -1002,15 +1017,16 @@ button, .btn {
background: rgba(34, 211, 238, 0.16);
border-color: rgba(34, 211, 238, 0.35);
}
.desk-main { display: flex; flex-direction: column; min-height: calc(100vh - 130px); min-width: 0; }
.desk-main { display: flex; flex-direction: column; min-height: 0; min-width: 0; height: 100%; }
.desk-toolbar {
display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
margin-bottom: 8px;
flex-shrink: 0;
}
.desk-frame {
flex: 1;
width: 100%;
min-height: calc(100vh - 190px);
min-height: 0;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #000;