smaller port fields

Massimo Melina committed Mar 12, 2022 at 17:58 UTC 17b1a704313c81197ad04791d3b436963ee1e962
1 file changed +3 -3
admin/src/ConfigPage.ts
+3 -3
@@ -45,7 +45,7 @@ export default function ConfigPage() {
45 }, "Reload")],
46 defaults({ comp }) {
47 if (comp === ServerPort)
48 - return { md: 6, xl: 4 }
48 + return { md: 6, lg: 3, xl: 2 }
49 if (comp === NumberField)
50 return { md:3, xl: 2 }
51 return { md: 6, xl: 4 }
@@ -109,8 +109,8 @@ function ServerPort({ label, value, onChange, status, suggestedPort=1 }: FieldPr
109 value: selectValue,
110 options: [
111 { label: "off", value: -1 },
112 - { label: "automatic port", value: 0 },
113 - { label: "choose a port", value: lastCustom.current },
112 + { label: "automatic", value: 0 },
113 + { label: "choose", value: lastCustom.current },
114 ],
115 onChange,
116 }),