Skip to content

Commit

Permalink
fix width of tables for mgmt interface
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Remus committed Dec 20, 2024
1 parent 3223227 commit 5391819
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/management/Management.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export default function ManagementUI(/* props: Props */) {
);

return (
<Box sx={{ display: 'flex', flex: 1, marginRight: '300px' }}>
<Box sx={{ display: 'flex', flex: 1, marginRight: { sm: '300px' } }}>
<CssBaseline />
<AppBar
position="fixed"
Expand Down Expand Up @@ -279,7 +279,7 @@ export default function ManagementUI(/* props: Props */) {
</Box>
<Box
component="main"
sx={{ flexGrow: 1, p: 1, width: { xs: 'calc(100%)', sm: 'calc(100%)' } }}
sx={{ flexGrow: 1, p: 1, width: 'calc(100%)' }}
>
<Toolbar />
<div style={{ background: 'white', padding: '2px', maxWidth: '100%', minWidth: '300px' }}>
Expand Down

0 comments on commit 5391819

Please sign in to comment.