Skip to content

Commit

Permalink
Set a max width on the app
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettjstevens committed Mar 6, 2024
1 parent 7987065 commit e00c32b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/app-core/src/ui/App/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,12 @@ const App = observer(function (props: Props) {
}}
>
<DialogQueue session={session} />
<div className={classes.appContainer}>
<div
className={classes.appContainer}
style={{
maxWidth: `calc(100vw - ${drawerVisible ? drawerWidth : 0}px)`,
}}
>
<AppBar position="static">
<AppToolbar {...props} />
</AppBar>
Expand Down

0 comments on commit e00c32b

Please sign in to comment.