Skip to content

Commit

Permalink
fix: support lobby pages with vertical scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
RevolutionTech committed Jul 28, 2022
1 parent e4cc714 commit 99803d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/client/lobby/LobbyPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import theme from "../theme";
const LobbyBack = styled("div")({
display: "flex",
justifyContent: "center",
width: "100vw",
height: "100vh",
width: "100%",
minHeight: "100vh",
backgroundColor: theme.silver,
});
const LobbyMenu = styled("div")({
Expand All @@ -18,11 +18,11 @@ const LobbyMenu = styled("div")({
flexDirection: "column",
alignItems: "center",
width: "100%",
height: "calc(100% - 2 * 20px)",
minHeight: "calc(100% - 2 * 20px)",
padding: "20px",
[theme.mediaLg]: {
width: "50%",
height: "calc(100% - 2 * 40px)",
minHeight: "calc(100% - 2 * 40px)",
padding: "40px",
},
backgroundColor: theme.white,
Expand Down

0 comments on commit 99803d6

Please sign in to comment.