fix: admin/fs: permission fields need more space

Massimo Melina committed Mar 15, 2022 at 10:56 UTC 1377f14512e28f4e5e2216731bd6ed807cddc7dc
1 file changed +2 -2
admin/src/FileCard.ts
+2 -2
@@ -83,10 +83,10 @@ function FileForm({ file }: { file: ReturnType<typeof useSnapState>['selectedFil
83 helperText: source && "You can decide a name that's different from the one on your disk",
84 },
85 hasSource && { k: 'source', comp: DisplayField },
86 - { k: 'can_read', label:"Who can download", md: showCanSee && 6, comp: WhoField, parent, accounts, inherit: inheritedPerms.can_read,
86 + { k: 'can_read', label:"Who can download", xl: showCanSee && 6, comp: WhoField, parent, accounts, inherit: inheritedPerms.can_read,
87 helperText: "Who cannot download also cannot see in list"
88 },
89 - showCanSee && { k: 'can_see', label:"Who can see", md: 6, comp: WhoField, parent, accounts, inherit: inheritedPerms.can_see,
89 + showCanSee && { k: 'can_see', label:"Who can see", xl: 6, comp: WhoField, parent, accounts, inherit: inheritedPerms.can_see,
90 helperText: "If you hide this element it will not be listed, but will still be accessible if you have a direct link"
91 },
92 hasSource && !realFolder && { k: 'size', comp: DisplayField, toField: formatBytes },