admin/fs: account save button always visible
Massimo Melina committed
Oct 4, 2023 at 23:03 UTC
3f1d137db46f29c4f54d86ee7d5716de99bbd0ed
2 files changed
+6
-2
admin/src/VfsPage.ts
+2
-1
@@ -122,7 +122,8 @@ export default function VfsPage() {
122
h(VfsMenuBar),
123
vfs && h(VfsTree, { id2node })),
124
isSideBreakpoint && sideContent && h(Grid, { item:true, [sideBreakpoint]: true, maxWidth:'100%' },
125
- h(Card, {}, h(CardContent, {}, sideContent) ))
125
+ h(Card, { sx: { overflow: 'initial' } }, // overflow is incompatible with stickyBar
126
+ h(CardContent, {}, sideContent) ))
127
)
128
}
129
mui-grid-form/index.ts
+4
-1
@@ -191,7 +191,10 @@ export function Form<Values extends Dict>({
191
display: 'flex',
192
alignItems: 'center',
193
sx: Object.assign({},
194
- stickyBar && { width: 'fit-content', zIndex: 2, backgroundColor: 'background.paper', borderRadius: 1, position: 'sticky', bottom: 0, p: 1, m: -1 },
194
+ stickyBar && {
195
+ width: 'fit-content', zIndex: 2, backgroundColor: 'background.paper', borderRadius: 1,
196
+ position: 'sticky', bottom: 0, p: 1, m: -1, boxShadow: '0px 0px 30px #000',
197
+ },
198
barSx)
199
},
200
h(LoadingButton, {