diff --git a/src/components/Seat/style.css b/src/components/Seat/style.css index 4be05f1..8b1035d 100644 --- a/src/components/Seat/style.css +++ b/src/components/Seat/style.css @@ -24,7 +24,7 @@ width: 20px; height: 20px; line-height: 20px; - font-size: 20px; + font-size: 18px; border-radius: 50%; border: var(--seat-border) 2px solid; background-color: black; diff --git a/src/pages/Room/GamingRoom/index.jsx b/src/pages/Room/GamingRoom/index.jsx index 52e5944..0eb79c2 100644 --- a/src/pages/Room/GamingRoom/index.jsx +++ b/src/pages/Room/GamingRoom/index.jsx @@ -37,8 +37,8 @@ const GamingRoom = (props) => { render={(seat) => ( <>
-
{game.state === 2 && game.landlord === seat ? 'πŸ‘² 地主' : 'πŸ‘¨β€πŸŒΎ ε†œζ°‘'}
-
{game.held[seat]} εΌ η‰Œ
+
{game.state === 2 && game.landlord === seat ? 'πŸ‘² 地主' : 'πŸ‘¨β€πŸŒΎ ε†œζ°‘'}
+
{game.held[seat]} εΌ η‰Œ
{game.state === 2 && ( diff --git a/src/pages/Room/index.jsx b/src/pages/Room/index.jsx index 702f54a..884c59f 100644 --- a/src/pages/Room/index.jsx +++ b/src/pages/Room/index.jsx @@ -25,6 +25,7 @@ const Room = () => { revealed: [], total: 0, landlord: null, + top: null, })); useEffect(() => { @@ -169,7 +170,9 @@ const Room = () => { ) : room.state === 1 ? ( ) : null} - + {room.state >= 0 && ( + + )} ); };