mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
Merge pull request #357 from Hitjack007/playlist-filters-layout
This commit is contained in:
1 file changed
+9
-2
@@ -25,6 +25,7 @@ import { FilterControl } from "./TankSearch/components/FilterControl";
|
|||||||
const tankDefinitions = await api.tankDefinitions();
|
const tankDefinitions = await api.tankDefinitions();
|
||||||
|
|
||||||
const POOL_HEIGHT = "16rem";
|
const POOL_HEIGHT = "16rem";
|
||||||
|
const FILTERS_WIDTH = "32rem";
|
||||||
|
|
||||||
export function PlaylistGenerator({ skeleton }: MaybeSkeletonComponentProps) {
|
export function PlaylistGenerator({ skeleton }: MaybeSkeletonComponentProps) {
|
||||||
const [largeWarningOpen, setLargeWarningOpen] = useState(false);
|
const [largeWarningOpen, setLargeWarningOpen] = useState(false);
|
||||||
@@ -80,13 +81,19 @@ export function PlaylistGenerator({ skeleton }: MaybeSkeletonComponentProps) {
|
|||||||
<Flex justify="center" width="100%" align="center" px="4">
|
<Flex justify="center" width="100%" align="center" px="4">
|
||||||
<Flex
|
<Flex
|
||||||
flexGrow="1"
|
flexGrow="1"
|
||||||
gap="9"
|
gap="6"
|
||||||
align="center"
|
align="center"
|
||||||
justify="center"
|
justify="center"
|
||||||
maxWidth="80rem"
|
maxWidth="80rem"
|
||||||
direction={{ initial: "column-reverse", md: "row" }}
|
direction={{ initial: "column-reverse", md: "row" }}
|
||||||
>
|
>
|
||||||
<Flex direction="column" gap="4" align="center">
|
<Flex
|
||||||
|
direction="column"
|
||||||
|
gap="4"
|
||||||
|
align="center"
|
||||||
|
flexShrink="0"
|
||||||
|
width={{ initial: "100%", md: FILTERS_WIDTH }}
|
||||||
|
>
|
||||||
<FilterControl />
|
<FilterControl />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Reference in new issue
Block a user