From ba1c8c2822901adb5b8146e7cc47c313e780601f Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 16 Sep 2026 21:20:23 +0800 Subject: [PATCH] =?UTF-8?q?style(user-center):=20=E5=8D=A1=E5=AF=86?= =?UTF-8?q?=E5=85=91=E6=8D=A2=E5=BC=B9=E7=AA=97=E6=8C=89=E9=92=AE=E5=8F=B3?= =?UTF-8?q?=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/routes/user-center/credits.css | 6 ++++++ inc/helpers/user-center-renderers/credits-wallet.php | 8 +++++--- 2 files changed, 11 insertions(+), 3 deletions(-) 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'] ?? '元'); - +
+ +