总览无持仓时仍显示灰色禁用平仓按钮,避免操作列只剩打开。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-04 09:57:47 +08:00
parent 706601416b
commit 822ef65f2d
3 changed files with 21 additions and 3 deletions
+10
View File
@@ -302,6 +302,16 @@ button, .btn {
}
.btn:hover, button:hover { filter: brightness(1.06); }
.btn-danger { background: #9f1239; color: #fff; }
.btn-close-disabled,
.btn-close-disabled:hover,
.btn.btn-close-disabled:disabled {
background: #3a3f4b;
color: #8b93a7;
border: 1px solid #4a5160;
cursor: not-allowed;
filter: none;
opacity: 1;
}
.btn-sm {
padding: 3px 8px;
font-size: 0.75rem;