Stars Balance Modal: Fix Styles (#6102)

This commit is contained in:
Alexander Zinchuk 2025-08-15 18:25:22 +02:00
parent e2b8058c77
commit 4dc6c27055
2 changed files with 15 additions and 1 deletions

View File

@ -37,6 +37,7 @@
@include mixins.side-panel-section;
}
.topSection,
.lastSection,
.section {
position: relative;
@ -46,6 +47,14 @@
align-items: center;
padding: 0.5rem;
}
.topSection {
padding-inline: 1.5rem;
}
.lastSection,
.section {
@include mixins.adapt-padding-to-scrollbar(0.5rem);
}
@ -71,6 +80,11 @@
background-color: var(--color-background-secondary);
}
.hint {
padding-block: 0.5rem;
padding-inline: 1.5rem;
}
.topUpButton,
.tonBalanceContainer {
margin-bottom: 0.5rem;

View File

@ -319,7 +319,7 @@ const StarsBalanceModal = ({
{oldLang('TelegramStars')}
</h2>
</div>
<div className={styles.section}>
<div className={styles.topSection}>
{currency === TON_CURRENCY_CODE ? renderTonHeaderSection() : renderStarsHeaderSection()}
</div>
{areBuyOptionsShown && (