Skip to content

Commit

Permalink
Fix debug page responsivity
Browse files Browse the repository at this point in the history
  • Loading branch information
nharraud committed Nov 28, 2021
1 parent 27a6b24 commit c8806be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion frontend/src/ui/Tournament/Debug.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ export default function Debug(props: DebugProps) {
if (game && controlledGame) {
content = (
<>
<gameDefinition.game gameState={controlledGame.gameState}/>
<Box style={{ flex: '1 1 0', overflow: 'hidden' }}>
<gameDefinition.game gameState={controlledGame.gameState}/>
</Box>
<DebugBottomDrawer
game={game} controlledGame={controlledGame}
setGameVersion={setGameVersion} createDebugGame={createDebugGame}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/ui/Tournament/TournamentPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default function TournamentPage() {
)}
</div>
<main
className={classes.main}
className={classes.main} style={{ overflow: 'hidden' }}
>
<Switch>
<Route path={`${baseURL}/info`}>
Expand Down

0 comments on commit c8806be

Please sign in to comment.