Stars Balance Modal: Fix scroll down issue on open (#5642)
This commit is contained in:
parent
1b66f75853
commit
28419b6354
@ -9,7 +9,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.root :global(.modal-dialog) {
|
.root :global(.modal-dialog) {
|
||||||
height: min(calc(55vh + 41px + 193px), 90vh);
|
height: min(45rem, 90vh);
|
||||||
max-width: 26.25rem;
|
max-width: 26.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -288,6 +288,7 @@ const StarsBalanceModal = ({
|
|||||||
itemSelector={`.${TRANSACTION_ITEM_CLASS}`}
|
itemSelector={`.${TRANSACTION_ITEM_CLASS}`}
|
||||||
className={styles.transactions}
|
className={styles.transactions}
|
||||||
noFastList
|
noFastList
|
||||||
|
noScrollRestoreOnTop
|
||||||
>
|
>
|
||||||
{history?.[TRANSACTION_TYPES[selectedTabIndex]]?.transactions.map((transaction) => (
|
{history?.[TRANSACTION_TYPES[selectedTabIndex]]?.transactions.map((transaction) => (
|
||||||
<StarsTransactionItem
|
<StarsTransactionItem
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user