diff --git a/web/src/components/HelpHint.tsx b/web/src/components/HelpHint.tsx index b7f0c3b..211e328 100644 --- a/web/src/components/HelpHint.tsx +++ b/web/src/components/HelpHint.tsx @@ -3,9 +3,10 @@ import { useEffect, useRef, useState } from "react"; type Props = { text: string; ariaLabel: string; + align?: "start" | "end"; }; -export function HelpHint({ text, ariaLabel }: Props) { +export function HelpHint({ text, ariaLabel, align = "start" }: Props) { const [open, setOpen] = useState(false); const rootRef = useRef(null); @@ -26,7 +27,7 @@ export function HelpHint({ text, ariaLabel }: Props) { }, [open]); return ( - + - - - {t("managedNe.importHint")} - { - const file = e.target.files?.[0]; - e.target.value = ""; - if (file) importMutation.mutate(file); - }} - /> - - - - +
+
+ + + + { + const file = e.target.files?.[0]; + e.target.value = ""; + if (file) importMutation.mutate(file); + }} + /> + + + + +
+
@@ -643,7 +646,6 @@ export function NePage() { value={form.password} onChange={(e) => setForm({ ...form, password: e.target.value })} /> - {t("managedNe.form.passwordHint")}