File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ export const HandBrainPlayControls: React.FC<Props> = ({
114114 < p className = "text-center text-xs font-semibold uppercase tracking-wide text-human-2" >
115115 SELECT PIECE
116116 </ p >
117- < div className = "mx-auto grid max-w-48 grid-cols-3 gap-2" >
117+ < div className = "mx-auto grid max-w-full grid-cols-6 gap-1 md:max-w- 48 md: grid-cols-3 md: gap-2" >
118118 { pieceTypes . map ( ( p ) => (
119119 < button
120120 key = { p }
@@ -124,7 +124,7 @@ export const HandBrainPlayControls: React.FC<Props> = ({
124124 ! playerActive ||
125125 ! ! selectedPiece
126126 }
127- className = { `flex h-12 w-12 items-center justify-center border transition-colors duration-200 ${
127+ className = { `flex h-10 w-10 items-center justify-center border transition-colors duration-200 md:h-12 md:w-12 ${
128128 movablePieceTypes . indexOf ( p ) !== - 1 &&
129129 playerActive &&
130130 ! selectedPiece
@@ -134,7 +134,7 @@ export const HandBrainPlayControls: React.FC<Props> = ({
134134 >
135135 < img
136136 src = { `/assets/pieces/${ pieceColorMap [ color [ 0 ] + p ] } .svg` }
137- className = "h-6 w-6"
137+ className = "h-5 w-5 md:h-6 md: w-6"
138138 alt = { pieceColorMap [ color [ 0 ] + p ] }
139139 />
140140 </ button >
You can’t perform that action at this time.
0 commit comments