Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
fix flex for controls group
Browse files Browse the repository at this point in the history
  • Loading branch information
evermake committed Nov 30, 2024
1 parent 1142eab commit d72dd95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/mahjong/Controls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function Controls({
return (
<div className={cn(styles.controlsRoot, 'font-game', className)}>
{platesLeading && <PlatesGroup plates={platesLeading} />}
{platesMiddle && <PlatesGroup plates={platesMiddle} className="grow justify-center" />}
{platesMiddle && <PlatesGroup plates={platesMiddle} className="grow" />}
{platesTrailing && <PlatesGroup plates={platesTrailing} />}
</div>
)
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/mahjong/Mahjong.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ $z-back: 0;
.platesGroup {
display: flex;
align-items: flex-start;
justify-content: space-between;
justify-content: center;
gap: 12px;
}

Expand Down

0 comments on commit d72dd95

Please sign in to comment.