diff --git a/apps/client/src/scenes/lobby/LobbyScene.tsx b/apps/client/src/scenes/lobby/LobbyScene.tsx index 7a49278..9a5d6f0 100644 --- a/apps/client/src/scenes/lobby/LobbyScene.tsx +++ b/apps/client/src/scenes/lobby/LobbyScene.tsx @@ -73,6 +73,33 @@ * { box-sizing: border-box; } + + .lobby-main-layout { + display: flex; + flex-direction: row; + width: 100%; + flex-grow: 1; + gap: 20px; + min-height: 0; + } + + .lobby-player-list { + list-style: none; + padding: 0 10px 0 0; + margin: 0; + font-size: 1.1rem; + overflow-y: auto; + flex-grow: 1; + min-height: 0; + } + + @media (max-width: 900px) { + .lobby-main-layout { + flex-direction: column; + gap: 12px; + } + } + /* スクロールバーの見た目をスマホ・PCでスッキリさせる */ ::-webkit-scrollbar { width: 8px; @@ -110,7 +137,9 @@ background: "transparent", height: "100dvh", width: "100vw", - overflow: "hidden", + overflowX: "hidden", + overflowY: "auto", + WebkitOverflowScrolling: "touch", display: "flex", flexDirection: "column", alignItems: "center", @@ -127,16 +156,7 @@ ルーム: {room.roomId} (待機中) -
+
{/* 左半分: スタートボタン or 待機メッセージ */}
    {room.players.map((p: domain.room.RoomMember) => (