mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-30 03:07:01 -05:00
Better ModeMapPoolPicker alignment
This commit is contained in:
parent
fef1ffc955
commit
10293df596
|
|
@ -93,6 +93,11 @@
|
||||||
font-weight: var(--weight-semi);
|
font-weight: var(--weight-semi);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mapButtonContainer {
|
||||||
|
width: var(--map-width);
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.divider::before,
|
.divider::before,
|
||||||
.divider::after {
|
.divider::after {
|
||||||
border-bottom: 2px dotted var(--color-bg-higher);
|
border-bottom: 2px dotted var(--color-bg-higher);
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,9 @@ function MapButton({
|
||||||
const { t } = useTranslation(["game-misc"]);
|
const { t } = useTranslation(["game-misc"]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="stack items-center relative">
|
<div
|
||||||
|
className={clsx("stack items-center relative", styles.mapButtonContainer)}
|
||||||
|
>
|
||||||
<button
|
<button
|
||||||
className={clsx(styles.mapButton, {
|
className={clsx(styles.mapButton, {
|
||||||
[styles.mapButtonWiggle]: wiggle,
|
[styles.mapButtonWiggle]: wiggle,
|
||||||
|
|
@ -164,7 +166,7 @@ function MapButton({
|
||||||
<div className={clsx(styles.mapButtonText, "text-error")}>Banned</div>
|
<div className={clsx(styles.mapButtonText, "text-error")}>Banned</div>
|
||||||
) : null}
|
) : null}
|
||||||
<div className={styles.mapButtonLabel}>
|
<div className={styles.mapButtonLabel}>
|
||||||
{t(`game-misc:STAGE_${stageId}`)}
|
{t(`game-misc:STAGE_${stageId}`).split(" ")[0]}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user