diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index 69b9b69a0f..de5502b1ee 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -14,7 +14,7 @@ "descriptionP4": "Sign up to get started with your word collection!" }, "treeView": { - "findDomain": "Find a domain", + "findDomain": "Find a domain:", "domainNotFound": "Domain not found", "returnToTop": "Return to the top of the domain tree." }, diff --git a/src/components/TreeView/TreeSearch.tsx b/src/components/TreeView/TreeSearch.tsx index 1ca756376f..b1beb69b3a 100644 --- a/src/components/TreeView/TreeSearch.tsx +++ b/src/components/TreeView/TreeSearch.tsx @@ -1,4 +1,4 @@ -import { Grid, TextField } from "@mui/material"; +import { Stack, TextField, Typography } from "@mui/material"; import { type ChangeEvent, type KeyboardEvent, @@ -41,12 +41,16 @@ export default function TreeSearch(props: TreeSearchProps): ReactElement { }; return ( - + + {t("treeView.findDomain")} - + ); }