diff --git a/src/components/ArticleComment/FooterActions/index.tsx b/src/components/ArticleComment/FooterActions/index.tsx index 2104c97545..8107f02e34 100644 --- a/src/components/ArticleComment/FooterActions/index.tsx +++ b/src/components/ArticleComment/FooterActions/index.tsx @@ -228,7 +228,7 @@ const BaseFooterActions = ({
{showForm && ( <> - + = ({ />

- + ) : null} @@ -139,7 +139,7 @@ const BaseRssFeedDialogContent: React.FC = ({ ) : ( <> - +
} @@ -157,9 +157,9 @@ const BaseRssFeedDialogContent: React.FC = ({ )}
- +
- + {/* gateways */}
diff --git a/src/components/Dialogs/SetPasswordDialog/Content.tsx b/src/components/Dialogs/SetPasswordDialog/Content.tsx index c09eee6002..e93b6ac17a 100644 --- a/src/components/Dialogs/SetPasswordDialog/Content.tsx +++ b/src/components/Dialogs/SetPasswordDialog/Content.tsx @@ -150,7 +150,7 @@ const SetPasswordDialogContent: React.FC = ({ closeDialog }) => { description="src/components/Dialogs/SetPasswordDialog/Content.tsx" />

- + {InnerForm} diff --git a/src/components/Dialogs/TagEditorDialog/List/index.tsx b/src/components/Dialogs/TagEditorDialog/List/index.tsx index 5a63e3bfcc..1aeef23f33 100644 --- a/src/components/Dialogs/TagEditorDialog/List/index.tsx +++ b/src/components/Dialogs/TagEditorDialog/List/index.tsx @@ -137,7 +137,7 @@ const TagEditorList = ({ id, closeDialog, toAddStep, toRemoveStep }: Props) => { ))} - + @@ -176,7 +176,7 @@ const TagEditorList = ({ id, closeDialog, toAddStep, toRemoveStep }: Props) => { - + {isAllowAdd && ( diff --git a/src/components/Editor/ToggleAccess/SupportSettingDialog/SupportPreview.tsx b/src/components/Editor/ToggleAccess/SupportSettingDialog/SupportPreview.tsx index 00c4a4790d..cc6c41ce3f 100644 --- a/src/components/Editor/ToggleAccess/SupportSettingDialog/SupportPreview.tsx +++ b/src/components/Editor/ToggleAccess/SupportSettingDialog/SupportPreview.tsx @@ -33,7 +33,7 @@ const SupportPreview = ({ id="Myrqtn" />

- +

- + )} diff --git a/src/components/Forms/PaymentForm/AddCredit/index.tsx b/src/components/Forms/PaymentForm/AddCredit/index.tsx index 364090dbd7..564d46ddd2 100644 --- a/src/components/Forms/PaymentForm/AddCredit/index.tsx +++ b/src/components/Forms/PaymentForm/AddCredit/index.tsx @@ -272,7 +272,7 @@ const BaseAddCredit: React.FC = ({ - + {InnerForm} @@ -283,7 +283,7 @@ const BaseAddCredit: React.FC = ({ return (
{Content} - + = ({ } loading={isSubmitting || waiting} /> - + = ({ back, nextStep, closeDialog }) => { - + = ({ } /> - + )} diff --git a/src/components/Forms/PaymentForm/PayTo/SetAmount/index.tsx b/src/components/Forms/PaymentForm/PayTo/SetAmount/index.tsx index 343f996590..ed65c74e11 100644 --- a/src/components/Forms/PaymentForm/PayTo/SetAmount/index.tsx +++ b/src/components/Forms/PaymentForm/PayTo/SetAmount/index.tsx @@ -250,7 +250,7 @@ const SetAmount: React.FC = ({ const ComposedAmountInputHint = () => { const hkdHint = isHKD ? (
- + = ({
{InnerForm} - + {isUSDT && hasEthAddress && !isConnectedAddress && ( diff --git a/src/components/Forms/PaymentForm/Processing/index.tsx b/src/components/Forms/PaymentForm/Processing/index.tsx index 87aabdfb64..980fd2369e 100644 --- a/src/components/Forms/PaymentForm/Processing/index.tsx +++ b/src/components/Forms/PaymentForm/Processing/index.tsx @@ -179,7 +179,7 @@ const OthersProcessingForm: React.FC = ({ {error && ( <> - + = ({ {isError && ( <> - + = ({ error, onChange }) => { - + = ({ size = 'loose' }) => ( +export const Spacer: React.FC = ({ size = 'sp24' }) => (
) diff --git a/src/components/Spacer/styles.module.css b/src/components/Spacer/styles.module.css index c84b61723f..b2fbe0a0cb 100644 --- a/src/components/Spacer/styles.module.css +++ b/src/components/Spacer/styles.module.css @@ -1,31 +1,31 @@ -.xxtight { +.sp4 { padding-bottom: var(--sp4); } -.xtight { +.sp8 { padding-bottom: var(--sp8); } -.base { +.sp16 { padding-bottom: var(--sp16); } -.baseLoose { +.sp20 { padding-bottom: var(--sp20); } -.loose { +.sp24 { padding-bottom: var(--sp24); } -.xloose { +.sp32 { padding-bottom: var(--sp32); } -.xxloose { +.sp40 { padding-bottom: var(--sp40); } -.xxxloose { +.sp64 { padding-bottom: var(--sp64); } diff --git a/src/views/ArticleDetail/Collection/index.tsx b/src/views/ArticleDetail/Collection/index.tsx index e0773c0c16..cabc5e6fcf 100644 --- a/src/views/ArticleDetail/Collection/index.tsx +++ b/src/views/ArticleDetail/Collection/index.tsx @@ -102,7 +102,7 @@ const Collection: React.FC<{ }) } /> - + - +
{ isFallbackEditor showClear /> - + {!comments || (comments.length <= 0 && )} {!!comments && comments.length > 0 && ( @@ -151,7 +151,7 @@ const LatestComments = ({ id, lock }: { id: string; lock: boolean }) => { loader={ <> - + } eof={ diff --git a/src/views/ArticleDetail/Placeholder/index.tsx b/src/views/ArticleDetail/Placeholder/index.tsx index ea142a0c06..f68e896d0a 100644 --- a/src/views/ArticleDetail/Placeholder/index.tsx +++ b/src/views/ArticleDetail/Placeholder/index.tsx @@ -11,7 +11,7 @@ const Placeholder = () => {
- +
diff --git a/src/views/ArticleDetail/Support/SupportAuthor/index.tsx b/src/views/ArticleDetail/Support/SupportAuthor/index.tsx index 9a00a5cdef..d911153dae 100644 --- a/src/views/ArticleDetail/Support/SupportAuthor/index.tsx +++ b/src/views/ArticleDetail/Support/SupportAuthor/index.tsx @@ -275,7 +275,7 @@ const SupportAuthor = (props: SupportAuthorProps) => { )} {isWalletSelect && ( <> - + forward('networkSelect')} isInSupport @@ -284,7 +284,7 @@ const SupportAuthor = (props: SupportAuthorProps) => { )} {isNetworkSelect && ( <> - + forward('setAmount')} /> diff --git a/src/views/ArticleDetail/Support/SupportWidget/index.tsx b/src/views/ArticleDetail/Support/SupportWidget/index.tsx index 4143027822..1cf7876e5c 100644 --- a/src/views/ArticleDetail/Support/SupportWidget/index.tsx +++ b/src/views/ArticleDetail/Support/SupportWidget/index.tsx @@ -172,7 +172,7 @@ const SupportWidget = ({ />

- +

{replyToDonator}

@@ -188,7 +188,7 @@ const SupportWidget = ({ />

- +

- + + + ) } diff --git a/src/views/Follow/index.tsx b/src/views/Follow/index.tsx index 460f02fd0f..ed24d4c2de 100644 --- a/src/views/Follow/index.tsx +++ b/src/views/Follow/index.tsx @@ -75,7 +75,7 @@ const Follow = () => { /> - + diff --git a/src/views/Me/Notifications/index.tsx b/src/views/Me/Notifications/index.tsx index f9fd3af9c4..b5a5f6f8d6 100644 --- a/src/views/Me/Notifications/index.tsx +++ b/src/views/Me/Notifications/index.tsx @@ -132,10 +132,10 @@ const Notifications = () => { } /> - + - + {

- + ) } diff --git a/src/views/Me/Settings/Notifications/CircleSettings/index.tsx b/src/views/Me/Settings/Notifications/CircleSettings/index.tsx index 52ca0cc982..90929d9f51 100644 --- a/src/views/Me/Settings/Notifications/CircleSettings/index.tsx +++ b/src/views/Me/Settings/Notifications/CircleSettings/index.tsx @@ -438,7 +438,7 @@ const NotificationsCircleSettings = () => {
- + ) } diff --git a/src/views/Me/Settings/Notifications/index.tsx b/src/views/Me/Settings/Notifications/index.tsx index 75b6a3ba0a..ffb2a588d8 100644 --- a/src/views/Me/Settings/Notifications/index.tsx +++ b/src/views/Me/Settings/Notifications/index.tsx @@ -36,7 +36,7 @@ const NotificationSettings = () => {
- + ) } diff --git a/src/views/User/UserProfile/DropdownActions/ArchiveUser/Dialog.tsx b/src/views/User/UserProfile/DropdownActions/ArchiveUser/Dialog.tsx index 192b201825..b3524d5fab 100644 --- a/src/views/User/UserProfile/DropdownActions/ArchiveUser/Dialog.tsx +++ b/src/views/User/UserProfile/DropdownActions/ArchiveUser/Dialog.tsx @@ -85,7 +85,7 @@ const ArchiveUserDialog = ({ {!isPreConfirm && ( <> - + { return ( - + {feedType === 'circle' && } {feedType === 'tag' && } {feedType === 'user' && }