总览:平仓按钮移到操作列,表格居中。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-02 16:07:23 +08:00
parent fb653c150c
commit 45464a6089
2 changed files with 52 additions and 30 deletions
+12 -7
View File
@@ -207,7 +207,6 @@ button, .btn {
cursor: not-allowed;
filter: none;
}
.pos-brief-main { min-width: 0; }
.panel {
background: var(--panel);
border: 1px solid var(--line);
@@ -227,7 +226,9 @@ button, .btn {
.inst-row { margin: 10px 0; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.overview-table-wrap {
overflow-x: auto;
margin-top: 12px;
margin: 12px auto 0;
width: fit-content;
max-width: 100%;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--panel);
@@ -235,9 +236,17 @@ button, .btn {
backdrop-filter: blur(10px);
}
.overview-table {
width: 100%;
width: auto;
min-width: 720px;
border-collapse: collapse;
font-size: 0.88rem;
margin: 0 auto;
}
body.page-dashboard #overview-status {
text-align: center;
}
body.page-dashboard .page-head {
justify-content: center;
}
.overview-table th,
.overview-table td {
@@ -266,10 +275,6 @@ button, .btn {
}
.pos-brief li {
margin: 2px 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.card-grid {
display: grid;