diff --git a/client/src/components/game/GamePage.tsx b/client/src/components/game/GamePage.tsx index 7b1831f..734de20 100644 --- a/client/src/components/game/GamePage.tsx +++ b/client/src/components/game/GamePage.tsx @@ -418,7 +418,7 @@ export default function GamePage({ initialLobby }: { initialLobby: Game }) {
- +
{(lobby.actualGame.pgn() || "") .split(/\d+\./) @@ -442,7 +442,7 @@ export default function GamePage({ initialLobby }: { initialLobby: Game }) {
    {chatMessages.map((m, i) => ( diff --git a/client/src/styles/globals.css b/client/src/styles/globals.css index b5c61c9..995bb75 100644 --- a/client/src/styles/globals.css +++ b/client/src/styles/globals.css @@ -1,3 +1,17 @@ @tailwind base; + +* { + scrollbar-width: thin; +} + +*::-webkit-scrollbar { + width: 4px; +} + +*::-webkit-scrollbar-thumb { + @apply bg-slate-500; + border-radius: 2px; +} + @tailwind components; @tailwind utilities;