diff --git a/apps/client/src/widgets/note_bars/CollectionProperties.tsx b/apps/client/src/widgets/note_bars/CollectionProperties.tsx index 6b3d781db6..cd1cb73d4b 100644 --- a/apps/client/src/widgets/note_bars/CollectionProperties.tsx +++ b/apps/client/src/widgets/note_bars/CollectionProperties.tsx @@ -47,7 +47,6 @@ export default function CollectionProperties({ note, centerChildren, rightChildr
{rightChildren} -
); @@ -234,15 +233,3 @@ function CheckBoxPropertyView({ note, property }: { note: FNote, property: Check /> ); } - -function HelpButton({ note }: { note: FNote }) { - const helpUrl = getHelpUrlForNote(note); - - return (helpUrl && ( - openInAppHelpFromUrl(helpUrl))} - text={t("help-button.title")} - /> - )); -} diff --git a/apps/client/src/widgets/ribbon/NoteActionsCustom.tsx b/apps/client/src/widgets/ribbon/NoteActionsCustom.tsx index 36b4b85431..c2925c849b 100644 --- a/apps/client/src/widgets/ribbon/NoteActionsCustom.tsx +++ b/apps/client/src/widgets/ribbon/NoteActionsCustom.tsx @@ -234,9 +234,9 @@ function OpenTriliumApiDocsButton({ noteMime }: NoteActionsCustomInnerProps) { />; } -function InAppHelpButton({ note, noteType }: NoteActionsCustomInnerProps) { +function InAppHelpButton({ note }: NoteActionsCustomInnerProps) { const helpUrl = getHelpUrlForNote(note); - const isEnabled = !!helpUrl && (noteType !== "book"); + const isEnabled = !!helpUrl; return isEnabled && ( button:last-of-type { - margin-right: 1em; + margin-right: 0.5em; } } }