mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-22 11:05:09 -05:00
MapPoolSelector a bit better mobile layout
This commit is contained in:
@@ -6,7 +6,6 @@ import { modes, stageIds } from "~/modules/in-game-lists";
|
||||
import { type MapPool } from "~/modules/map-pool-serializer";
|
||||
import { modeImageUrl, stageImageUrl } from "~/utils/urls";
|
||||
|
||||
// xxx: maybe better mobile layout?
|
||||
export function MapPoolSelector({
|
||||
mapPool,
|
||||
handleMapPoolChange,
|
||||
|
||||
@@ -525,7 +525,6 @@ function BadgesAdder() {
|
||||
);
|
||||
}
|
||||
|
||||
// xxx: maybe better mobile layout?
|
||||
const DEFAULT_MAP_POOL = {
|
||||
SZ: [],
|
||||
TC: [],
|
||||
|
||||
@@ -11,9 +11,7 @@ import { Image } from "~/components/Image";
|
||||
import { Label } from "~/components/Label";
|
||||
import { Main } from "~/components/Main";
|
||||
import { Toggle } from "~/components/Toggle";
|
||||
import { ADMIN_DISCORD_ID } from "~/constants";
|
||||
import { db } from "~/db";
|
||||
import { useUser } from "~/modules/auth";
|
||||
import {
|
||||
modes,
|
||||
stageIds,
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
.maps__stage-name-row {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-grow: 1;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
@@ -23,11 +24,17 @@
|
||||
border-radius: var(--rounded);
|
||||
font-size: var(--fonts-xs);
|
||||
font-weight: var(--semi-bold);
|
||||
gap: var(--s-0-5);
|
||||
gap: var(--s-2);
|
||||
padding-block: var(--s-1-5);
|
||||
padding-inline: var(--s-3);
|
||||
}
|
||||
|
||||
@media screen and (min-width: 640px) {
|
||||
.maps__stage-name-row {
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
|
||||
.maps__mode-buttons-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
Reference in New Issue
Block a user