diff --git a/dashboard/src/components/EditableTextfield.tsx b/dashboard/src/components/EditableTextfield.tsx index 9ea9a35a..12ec942d 100644 --- a/dashboard/src/components/EditableTextfield.tsx +++ b/dashboard/src/components/EditableTextfield.tsx @@ -51,6 +51,7 @@ export default function EditableTextfield({ setError(error); setIsLoading(false); if (!error) setDisplayText(trimmed); + setIsEditing(false); }; const onCancel = () => { @@ -123,7 +124,7 @@ export default function EditableTextfield({ type === 'heading' ? 'text-gray-300 decoration-2 underline-offset-[6px]' : 'text-gray-500' - } + } ml-[-1ch] mr-[-0.5ch] truncate bg-transparent group-hover:text-gray-300 group-hover:underline ${textClassName}`} onClick={() => { setIsEditing(true);