@samitouri / QOSami-HFS / commits / 59fb43aa

fix: (regression 0.52.0) admin/options: favicon file picker #573

Massimo Melina committed Apr 29, 2024 at 14:59 UTC 59fb43aae820ec274b0ed985f6fce5a60d60e623
2 files changed +2 -3
admin/src/addFiles.ts
+1 -1
@@ -13,7 +13,7 @@ let lastFolder: undefined | string
13 export default function addFiles() {
14 const { close } = newDialog({
15 title: "Add files or folders",
16 - dialogProps: { sx:{ alignItems: 'stretch', minWidth: 'min(90vw, 40em)', minHeight: 'calc(100vh - 9em)' } },
16 + dialogProps: { sx:{ minWidth: 'min(90vw, 40em)', minHeight: 'calc(100vh - 9em)' } },
17 Content() {
18 const parent = getFolderFromSelected()
19 return h(Fragment, {},
admin/src/dialog.ts
+1 -2
@@ -60,8 +60,7 @@ dialogsDefaults.Container = function Container(d: DialogOptions) {
60 ref,
61 sx: {
62 p: d.padding ? 1 : 0, pt: '16px !important', overflow: 'initial',
63 - display: 'flex', flexDirection: 'column', justifyContent: 'center',
64 - alignItems: 'center',
63 + display: 'flex', flexDirection: 'column', justifyContent: 'center', alignItems: 'stretch',
64 ...sx,
65 }
66 }, h(d.Content) )