mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-21 12:53:56 +01:00
custom scroller for loadout
This commit is contained in:
1 parent
0b740e3f60
commit
3131217600
6 files changed
+128
-62
No files matched your search
+8
-5
@@ -13,11 +13,14 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
gap: var(--space-5);
|
||||
padding: var(--space-5);
|
||||
|
||||
overflow-y: auto;
|
||||
|
||||
background-color: var(--gray-2);
|
||||
|
||||
.content {
|
||||
padding: var(--space-5);
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-5);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
import { useMemo } from "react";
|
||||
import { api } from "../../../../../api/dynamic";
|
||||
import { Scroller } from "../../../../../components/Scroller";
|
||||
import type { ThicknessRange } from "../../../../../components/StaticArmor";
|
||||
import { TankopediaCharacteristics } from "../../../../../components/TankopediaCharacteristics";
|
||||
import { TankopediaGameModeAbilities } from "../../../../../components/TankopediaGameModeAbilities";
|
||||
@@ -52,9 +53,11 @@ export const Page = withErrorWrapper(
|
||||
|
||||
return (
|
||||
<div className={styles.page}>
|
||||
<div className={styles.loadout}>
|
||||
<TankopediaLoadout characteristics={characteristics} />
|
||||
</div>
|
||||
<Scroller className={styles.loadout} orientation="vertical">
|
||||
<div className={styles.content}>
|
||||
<TankopediaLoadout characteristics={characteristics} />
|
||||
</div>
|
||||
</Scroller>
|
||||
|
||||
<div className={styles.sandbox}>
|
||||
{/* {!skeleton && <TankopediaSandbox thicknessRange={thicknessRange} />} */}
|
||||
|
||||
Reference in new issue
Block a user