Center funds bar and stack USDT/USDC on two lines.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+26
-14
@@ -191,55 +191,67 @@ input {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
gap: 0;
|
||||
padding: 2px 0 4px;
|
||||
padding: 4px 0 2px;
|
||||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
scrollbar-width: thin;
|
||||
align-items: stretch;
|
||||
min-height: 56px;
|
||||
}
|
||||
|
||||
.funds-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 1 1 0;
|
||||
min-width: 72px;
|
||||
padding: 4px 10px;
|
||||
padding: 4px 8px;
|
||||
border-right: 1px solid var(--line);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.funds-item:first-child {
|
||||
padding-left: 0;
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.funds-item:last-child {
|
||||
border-right: none;
|
||||
padding-right: 0;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
.funds-item--primary .funds-value {
|
||||
color: var(--accent);
|
||||
font-size: 1.02rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.funds-label {
|
||||
font-size: 11px;
|
||||
font-size: 0.72rem;
|
||||
color: var(--muted);
|
||||
line-height: 1.2;
|
||||
margin-bottom: 2px;
|
||||
margin-bottom: 6px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.funds-value {
|
||||
font-size: 13px;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
line-height: 1.3;
|
||||
white-space: nowrap;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.funds-item--money .funds-value {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.01em;
|
||||
.funds-dual {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.funds-item--money .funds-label {
|
||||
font-size: 12px;
|
||||
.funds-value--sub {
|
||||
font-size: 0.95rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.funds-item--pnl .funds-value {
|
||||
|
||||
Reference in New Issue
Block a user