修复资产卡片底部对齐
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
* User Center — assets (wallet + points) legacy parity
|
||||
*/
|
||||
|
||||
|
||||
/* The asset cards and the records card are sibling surfaces, not one nested card. */
|
||||
.uc-content #panel-credits.dashboard-panel {
|
||||
margin: 0;
|
||||
@@ -18,14 +17,15 @@
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 12px;
|
||||
margin-bottom: 16px;
|
||||
margin-bottom: 10px;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
.uc-assets-row--dual {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
grid-template-rows: auto auto;
|
||||
grid-template-rows: auto;
|
||||
gap: 10px;
|
||||
}
|
||||
.uc-assets-row--dual > .uc-assets-col {
|
||||
display: contents;
|
||||
@@ -69,6 +69,8 @@
|
||||
|
||||
/* One surface per asset (wallet / points) — never nest inside another card shell */
|
||||
.uc-asset-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--main-bg-color, var(--surface-1, #fff));
|
||||
border-radius: var(--main-radius, 8px);
|
||||
box-shadow: 0 0 10px var(--main-shadow, rgba(116, 116, 116, 0.08));
|
||||
@@ -106,10 +108,13 @@
|
||||
.uc-asset-card__link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
margin-top: 8px;
|
||||
margin-top: auto;
|
||||
padding-top: 8px;
|
||||
background: none;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
padding-right: 0;
|
||||
padding-bottom: 0;
|
||||
padding-left: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
.uc-asset-card__link:hover {
|
||||
@@ -872,7 +877,7 @@ body.uc-modal-open {
|
||||
|
||||
/* Withdraw history + pending foot */
|
||||
.uc-asset-card__foot {
|
||||
margin-top: 8px;
|
||||
margin-top: auto;
|
||||
padding-top: 8px;
|
||||
border-top: 1px dashed var(--muted-border-color, rgba(0,0,0,.08));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user