Star Balance Modal: Adjust styles for the Stars Gift Button (#5589)

This commit is contained in:
Alexander Zinchuk 2025-02-13 14:28:09 +01:00
parent 92bb456d95
commit 951378f7c9
2 changed files with 4 additions and 4 deletions

View File

@ -158,6 +158,7 @@
grid-column: 1/-1;
gap: 0.5rem;
margin-top: 0.5rem;
font-weight: var(--font-weight-medium);
}
.paymentContent {

View File

@ -18,7 +18,6 @@ import useLastCallback from '../../../hooks/useLastCallback';
import useOldLang from '../../../hooks/useOldLang';
import Icon from '../../common/icons/Icon';
import StarIcon from '../../common/icons/StarIcon';
import SafeLink from '../../common/SafeLink';
import Button from '../../ui/Button';
import InfiniteScroll from '../../ui/InfiniteScroll';
@ -225,11 +224,11 @@ const StarsBalanceModal = ({
)}
{canBuyPremium && !areBuyOptionsShown && shouldSuggestGifting && (
<Button
className={buildClassName(styles.starButton, 'settings-main-menu-star')}
color="translucent"
isText
noForcedUpperCase
className={styles.starButton}
onClick={openStarsGiftingPickerModalHandler}
>
<StarIcon className="icon" type="gold" size="big" />
{oldLang('TelegramStarsGift')}
</Button>
)}