Skip to content

Commit e0b0e4b

Browse files
committed
fix tsumo
1 parent 1668fb5 commit e0b0e4b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/pages/Play/components/HandTiles.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@ function HandTiles(props: HandTilesProps) {
1818
<>
1919
<div
2020
style={{
21-
margin: "auto",
2221
display: "flex",
23-
gap: "1rem",
2422
flexDirection: "row",
25-
alignItems: "center",
23+
justifyContent: "center",
2624
}}
2725
>
2826
<ul
@@ -53,7 +51,7 @@ function HandTiles(props: HandTilesProps) {
5351
height="70"
5452
onClick={() => props.tsumogiri()} // クリックイベントでtsumogiri関数を実行
5553
onKeyDown={() => props.tsumogiri()} // 意味あるのか分からない
56-
style={{ cursor: "pointer" }} // クリックできることを示すためにポインターに変更
54+
style={{ cursor: "pointer", transform: "translate(0.5rem, 1.5rem)" }} // クリックできることを示すためにポインターに変更
5755
/>
5856
</div>
5957
</>

0 commit comments

Comments
 (0)