diff --git a/assets/css/routes/user-center/credits.css b/assets/css/routes/user-center/credits.css index 8a6ce139..4e9fbae2 100644 --- a/assets/css/routes/user-center/credits.css +++ b/assets/css/routes/user-center/credits.css @@ -880,6 +880,12 @@ body.uc-modal-open { } .uc-card-pass__btn:hover { background: #1d4ed8; } .uc-card-pass__btn:disabled { opacity: .6; cursor: not-allowed; } +/* Modal redeem action sits on the right */ +.uc-card-pass-actions { + display: flex; + justify-content: flex-end; + margin-top: 2px; +} .uc-card-pass__tip { margin: 8px 0 0; font-size: 12px; diff --git a/inc/helpers/user-center-renderers/credits-wallet.php b/inc/helpers/user-center-renderers/credits-wallet.php index cfb76696..fa021f26 100644 --- a/inc/helpers/user-center-renderers/credits-wallet.php +++ b/inc/helpers/user-center-renderers/credits-wallet.php @@ -122,9 +122,11 @@ $mark = (string) ($charge_view['currency_mark'] ?? '元'); - +
+ +