From 4c950b34d830315de449517740160c89f1d5650d Mon Sep 17 00:00:00 2001 From: zubiden <19638254+zubiden@users.noreply.github.com> Date: Fri, 29 Aug 2025 08:57:58 +0200 Subject: [PATCH] Button: Remove 'smaller' size in some components (#6169) --- src/components/auth/AuthRegister.tsx | 2 +- src/components/common/CountryPickerModal.tsx | 1 - src/components/common/LinkField.tsx | 1 - src/components/common/PasswordForm.tsx | 2 +- src/components/common/PrivacySettingsNoticeModal.tsx | 2 -- src/components/common/StickerSetModal.tsx | 1 - src/components/common/paidMessage/PaidMessagePrice.tsx | 1 - src/components/common/pickers/PickerModal.tsx | 1 - src/components/common/profile/ChatExtra.tsx | 1 - src/components/left/main/EmptyFolder.tsx | 1 - src/components/left/main/EmptyForum.tsx | 1 - src/components/left/main/UnconfirmedSession.tsx | 4 ++-- .../left/search/PublicPostsSearchLauncher.tsx | 3 --- src/components/left/settings/SettingsPrivacy.tsx | 1 - .../left/settings/folders/SettingsFoldersMain.tsx | 1 - src/components/middle/message/Giveaway.tsx | 1 - src/components/modals/aboutAds/AboutAdsModal.tsx | 1 - src/components/modals/chatlist/ChatlistAlready.tsx | 1 - src/components/modals/chatlist/ChatlistDelete.tsx | 1 - src/components/modals/chatlist/ChatlistNew.tsx | 1 - src/components/modals/common/TableAboutModal.tsx | 2 +- src/components/modals/common/TableInfoModal.tsx | 1 - .../modals/frozenAccount/FrozenAccountModal.tsx | 2 -- src/components/modals/gift/info/GiftInfoModal.tsx | 10 +++++----- .../gift/resale/GiftResalePriceComposerModal.tsx | 2 +- .../modals/gift/status/GiftStatusInfoModal.tsx | 1 - .../modals/gift/upgrade/GiftUpgradeModal.tsx | 4 ++-- .../modals/gift/withdraw/GiftWithdrawModal.tsx | 2 +- .../modals/inviteViaLink/InviteViaLinkModal.tsx | 2 -- .../modals/paidReaction/PaidReactionModal.tsx | 1 - .../modals/preparedMessage/PreparedMessageModal.tsx | 1 - src/components/modals/reportModal/ReportModal.tsx | 1 - src/components/modals/stars/StarsPaymentModal.tsx | 2 +- .../stars/subscription/StarsSubscriptionModal.tsx | 1 - .../modals/suggestMessage/SuggestMessageModal.tsx | 1 - .../modals/suggestedStatus/SuggestedStatusModal.tsx | 2 +- src/components/right/Profile.tsx | 4 ++-- .../right/statistics/MonetizationStatistics.tsx | 1 - src/components/story/StealthModeModal.tsx | 1 - src/components/ui/ShowMoreButton.tsx | 1 - 40 files changed, 18 insertions(+), 52 deletions(-) diff --git a/src/components/auth/AuthRegister.tsx b/src/components/auth/AuthRegister.tsx index 00c04c49c..b24dc15c6 100644 --- a/src/components/auth/AuthRegister.tsx +++ b/src/components/auth/AuthRegister.tsx @@ -77,7 +77,7 @@ const AuthRegister: FC = ({ autoComplete="family-name" /> {isButtonShown && ( - + )} diff --git a/src/components/common/CountryPickerModal.tsx b/src/components/common/CountryPickerModal.tsx index 614a355bc..57282f4c7 100644 --- a/src/components/common/CountryPickerModal.tsx +++ b/src/components/common/CountryPickerModal.tsx @@ -109,7 +109,6 @@ const CountryPickerModal: FC = ({
{withShare && ( )} diff --git a/src/components/common/PrivacySettingsNoticeModal.tsx b/src/components/common/PrivacySettingsNoticeModal.tsx index 8e1ad07d6..a29d085a5 100644 --- a/src/components/common/PrivacySettingsNoticeModal.tsx +++ b/src/components/common/PrivacySettingsNoticeModal.tsx @@ -110,7 +110,6 @@ const PrivacySettingsNoticeModal = ({ isOpen, isReadDate, user }: OwnProps & Sta )}

- diff --git a/src/components/left/search/PublicPostsSearchLauncher.tsx b/src/components/left/search/PublicPostsSearchLauncher.tsx index 7dfe15310..2c6e22321 100644 --- a/src/components/left/search/PublicPostsSearchLauncher.tsx +++ b/src/components/left/search/PublicPostsSearchLauncher.tsx @@ -118,7 +118,6 @@ const PublicPostsSearchLauncher = ({ + )} ); diff --git a/src/components/modals/common/TableInfoModal.tsx b/src/components/modals/common/TableInfoModal.tsx index ed3087111..78496807a 100644 --- a/src/components/modals/common/TableInfoModal.tsx +++ b/src/components/modals/common/TableInfoModal.tsx @@ -103,7 +103,6 @@ const TableInfoModal = ({ {buttonText && ( ); @@ -270,7 +270,7 @@ const GiftInfoModal = ({ if (canManage && savedGift?.alreadyPaidUpgradeStars && !savedGift.upgradeMsgId) { return ( - @@ -279,7 +279,7 @@ const GiftInfoModal = ({ if (canManage && savedGift.canUpgrade && !savedGift.upgradeMsgId) { return ( - @@ -287,7 +287,7 @@ const GiftInfoModal = ({ } return ( - ); diff --git a/src/components/modals/gift/resale/GiftResalePriceComposerModal.tsx b/src/components/modals/gift/resale/GiftResalePriceComposerModal.tsx index edcacedb9..52eb46f4e 100644 --- a/src/components/modals/gift/resale/GiftResalePriceComposerModal.tsx +++ b/src/components/modals/gift/resale/GiftResalePriceComposerModal.tsx @@ -163,7 +163,7 @@ const GiftResalePriceComposerModal = ({ {lang('OnlyAcceptTONDescription')} - )} @@ -143,7 +143,7 @@ const GiftUpgradeModal = ({ modal, recipient }: OwnProps & StateProps) => { onCheck={setShouldKeepOriginalDetails} checked={shouldKeepOriginalDetails} /> - + )} {hasPassword && !exportDelay && ( diff --git a/src/components/modals/inviteViaLink/InviteViaLinkModal.tsx b/src/components/modals/inviteViaLink/InviteViaLinkModal.tsx index dc9e01e30..b7a01d6f9 100644 --- a/src/components/modals/inviteViaLink/InviteViaLinkModal.tsx +++ b/src/components/modals/inviteViaLink/InviteViaLinkModal.tsx @@ -152,7 +152,6 @@ const InviteViaLinkModal: FC = ({ diff --git a/src/components/right/Profile.tsx b/src/components/right/Profile.tsx index 01435a7fb..c392fd406 100644 --- a/src/components/right/Profile.tsx +++ b/src/components/right/Profile.tsx @@ -799,7 +799,7 @@ const Profile: FC = ({ {!isCurrentUserPremium && ( <> {} - @@ -838,7 +838,7 @@ const Profile: FC = ({ {!isCurrentUserPremium && ( <> {} - diff --git a/src/components/right/statistics/MonetizationStatistics.tsx b/src/components/right/statistics/MonetizationStatistics.tsx index 4972bd0ce..a1eea8b46 100644 --- a/src/components/right/statistics/MonetizationStatistics.tsx +++ b/src/components/right/statistics/MonetizationStatistics.tsx @@ -255,7 +255,6 @@ const MonetizationStatistics = ({ {renderAvailableReward()}