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