Stars Balance Modal: Fix Styles (#6102)
This commit is contained in:
parent
e2b8058c77
commit
4dc6c27055
@ -37,6 +37,7 @@
|
|||||||
@include mixins.side-panel-section;
|
@include mixins.side-panel-section;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.topSection,
|
||||||
.lastSection,
|
.lastSection,
|
||||||
.section {
|
.section {
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -46,6 +47,14 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.topSection {
|
||||||
|
padding-inline: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lastSection,
|
||||||
|
.section {
|
||||||
|
|
||||||
@include mixins.adapt-padding-to-scrollbar(0.5rem);
|
@include mixins.adapt-padding-to-scrollbar(0.5rem);
|
||||||
}
|
}
|
||||||
@ -71,6 +80,11 @@
|
|||||||
background-color: var(--color-background-secondary);
|
background-color: var(--color-background-secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hint {
|
||||||
|
padding-block: 0.5rem;
|
||||||
|
padding-inline: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
.topUpButton,
|
.topUpButton,
|
||||||
.tonBalanceContainer {
|
.tonBalanceContainer {
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
|
|||||||
@ -319,7 +319,7 @@ const StarsBalanceModal = ({
|
|||||||
{oldLang('TelegramStars')}
|
{oldLang('TelegramStars')}
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.section}>
|
<div className={styles.topSection}>
|
||||||
{currency === TON_CURRENCY_CODE ? renderTonHeaderSection() : renderStarsHeaderSection()}
|
{currency === TON_CURRENCY_CODE ? renderTonHeaderSection() : renderStarsHeaderSection()}
|
||||||
</div>
|
</div>
|
||||||
{areBuyOptionsShown && (
|
{areBuyOptionsShown && (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user