From a00b9f4cc5cc63f10b1c91dd0bc34abc36668e03 Mon Sep 17 00:00:00 2001 From: jason Date: Fri, 21 Aug 2026 16:05:44 +0800 Subject: [PATCH] FPS message update --- src/pages/Payment/FPS/FPS.js | 11 ++++++----- src/themes/themeConst.js | 15 ++++++++------- src/translations/en.json | 2 +- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/src/pages/Payment/FPS/FPS.js b/src/pages/Payment/FPS/FPS.js index f329065c..e5136db2 100644 --- a/src/pages/Payment/FPS/FPS.js +++ b/src/pages/Payment/FPS/FPS.js @@ -400,14 +400,14 @@ const Index = () => {
- + {!isError && - + } {isError && - + { boxSizing: 'border-box', listStylePosition: 'outside', paddingLeft: '1.5em', + textAlign: 'justify', }} > -
  • -
  • +
  • +
  • } diff --git a/src/themes/themeConst.js b/src/themes/themeConst.js index 703ad58f..bb4a6a26 100644 --- a/src/themes/themeConst.js +++ b/src/themes/themeConst.js @@ -48,13 +48,14 @@ export const PNSPS_THEME = createTheme({ }, styleOverrides: { root: ({ ownerState }) => ({ - ...(ownerState.color === "cancel" && { - borderColor: "#9E9E9E", - }), - '&:active': { - boxShadow: 'none', - transform: 'none', - }, + ...(ownerState.color === "cancel" && { + borderColor: "#9E9E9E", + }), + textTransform: 'none', + '&:active': { + boxShadow: 'none', + transform: 'none', + }, }), contained: ({ theme, ownerState }) => ({ ...(ownerState.color === "cancel" && { diff --git a/src/translations/en.json b/src/translations/en.json index ca32e3c9..a44baa48 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -418,7 +418,7 @@ "payId": "Payment No.", "payIdNRefer": "Payment No. / Payment Reference No.", "payConfirm": "Confirm payment", - "payCancel": "Cancel payment", + "payCancel": "Cancel Payment", "payAlert": "Please do not refresh or close this page during payment to avoid payment failure. In case of cancellation, please use the “Cancel Payment” button at the bottom of this page.", "payTotalDeatail": "Total Payment Amount", "payDeatail": "Total Payment Amount",