Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(options/spellcheck): improve display in browser
Elian Doran21f6cc00ebac
diff --git a/apps/client/src/widgets/type_widgets/options/spellcheck.tsx b/apps/client/src/widgets/type_widgets/options/spellcheck.tsxindex fe5bca5bf5..e91804e3f3 100644--- a/apps/client/src/widgets/type_widgets/options/spellcheck.tsx+++ b/apps/client/src/widgets/type_widgets/options/spellcheck.tsx@@ -7,6 +7,7 @@ import Button from "../../react/Button";import FormText from "../../react/FormText";import FormToggle from "../../react/FormToggle";import { useTriliumOption, useTriliumOptionBool } from "../../react/hooks";+import NoItems from "../../react/NoItems";import CheckboxList from "./components/CheckboxList";import OptionsRow from "./components/OptionsRow";import OptionsSection from "./components/OptionsSection";@@ -121,8 +122,11 @@ function CustomDictionary() {function WebSpellcheckSettings() {return (- <OptionsSection title={t("spellcheck.title")}>- <p>{t("spellcheck.description")}</p>+ <OptionsSection>+ <NoItems+ text={t("spellcheck.description")}+ icon="bx bx-check-double"+ /></OptionsSection>);}