fix: mobile layout problems with scrolling

Massimo Melina committed Mar 14, 2022 at 23:48 UTC 21b5ee793712a362ebcbc1d5765cb15549b50ed4
2 files changed +2 -1
admin/src/App.ts
+1
@@ -53,6 +53,7 @@ function Routed() {
53 display: 'flex',
54 flexDirection: 'column',
55 width: '100%',
56 + overflowX: 'auto',
57 }
58 },
59 title && h(Hidden, { mdDown: true }, h(Typography, { variant:'h1', mb:2 }, title) ),
admin/src/VfsPage.ts
+1 -1
@@ -51,7 +51,7 @@ export default function VfsPage() {
51 h(Grid, { item:true, sm: 6, lg: 7 },
52 h(VfsMenuBar),
53 snap.vfs && h(VfsTree, { id2node })),
54 - h(Grid, { item:true, sm: 6, lg: 5 },
54 + h(Grid, { item:true, sm: 6, lg: 5, maxWidth:'100%' },
55 h(FileCard)))
56 }
57