Add strategy residual table with manual close at panel bottom.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+44
-34
@@ -725,49 +725,59 @@ input {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.kv-residuals {
|
||||
align-items: flex-start;
|
||||
.plan-residual-block {
|
||||
margin-top: 14px;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.kv-residuals > span:first-child {
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.residual-list {
|
||||
.plan-residual-head {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
gap: 6px;
|
||||
min-width: 0;
|
||||
max-width: min(100%, 28em);
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.residual-item {
|
||||
text-align: right;
|
||||
line-height: 1.35;
|
||||
word-break: break-word;
|
||||
overflow-wrap: anywhere;
|
||||
.plan-residual-head h4 {
|
||||
margin: 0;
|
||||
font-size: 0.95rem;
|
||||
color: var(--accent);
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.kv-residuals {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 6px;
|
||||
}
|
||||
.plan-residual-wrap {
|
||||
overflow: auto;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 8px;
|
||||
background: rgba(0, 0, 0, 0.18);
|
||||
}
|
||||
|
||||
.residual-list {
|
||||
align-items: stretch;
|
||||
max-width: none;
|
||||
}
|
||||
.plan-residual-table {
|
||||
width: 100%;
|
||||
min-width: 720px;
|
||||
border-collapse: collapse;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.residual-item {
|
||||
text-align: left;
|
||||
padding: 6px 8px;
|
||||
border-radius: 6px;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
.plan-residual-table th,
|
||||
.plan-residual-table td {
|
||||
padding: 8px 10px;
|
||||
border-bottom: 1px solid rgba(0, 229, 255, 0.1);
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.plan-residual-table th {
|
||||
color: var(--accent);
|
||||
font-weight: 650;
|
||||
background: rgba(0, 40, 60, 0.45);
|
||||
}
|
||||
|
||||
.plan-residual-table tbody tr:last-child td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.trade-list {
|
||||
|
||||
Reference in New Issue
Block a user