fix: (regression 0.31.0) admin: useless scrollbar
Massimo Melina committed
Feb 12, 2023 at 19:41 UTC
ae481fdc2db8934617532c25b19bbf48f451c67b
1 file changed
+1
-1
admin/src/MainMenu.ts
+1
-1
@@ -52,7 +52,7 @@ export default function Menu({ onSelect }: { onSelect: ()=>void }) {
52
h(List, {
53
sx:{
54
pr: 1, color: 'primary.contrastText',
55
- height: '100vh', // grow as screen permits, so we know the extra space for the logo
55
+ height: '100vh', boxSizing: 'border-box', // grow as screen permits, so we know the extra space for the logo
56
overflowY: 'auto', // ...and account for clipping
57
position: 'sticky', top: 0, // be independent (scrolling-wise)
58
display: 'flex', flexDirection: 'column', '&>a': { flex: '0' },