diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json index fdd6f9fb2d..eea9ef2b44 100644 --- a/apps/client/src/translations/en/translation.json +++ b/apps/client/src/translations/en/translation.json @@ -2202,5 +2202,8 @@ }, "setup_form": { "more_info": "Learn more" + }, + "mermaid": { + "sample_diagrams": "Sample diagrams:" } } diff --git a/apps/client/src/widgets/layout/NoteContentSwitcher.css b/apps/client/src/widgets/layout/NoteContentSwitcher.css index 7a8cc38668..86cb23f54a 100644 --- a/apps/client/src/widgets/layout/NoteContentSwitcher.css +++ b/apps/client/src/widgets/layout/NoteContentSwitcher.css @@ -7,11 +7,13 @@ padding: 5px; flex-wrap: wrap; flex-shrink: 0; + font-size: 0.9rem; + align-items: center; .ext-badge { --color: var(--input-background-color); color: var(--main-text-color); - font-size: 0.9rem; + font-size: 1em; flex-shrink: 0; } } diff --git a/apps/client/src/widgets/layout/NoteContentSwitcher.tsx b/apps/client/src/widgets/layout/NoteContentSwitcher.tsx index 5465a174dd..c018d84ac9 100644 --- a/apps/client/src/widgets/layout/NoteContentSwitcher.tsx +++ b/apps/client/src/widgets/layout/NoteContentSwitcher.tsx @@ -11,15 +11,18 @@ export interface NoteContentTemplate { } interface NoteContentSwitcherProps { + text: string; note: FNote; templates: NoteContentTemplate[]; } -export default function NoteContentSwitcher({ note, templates }: NoteContentSwitcherProps) { +export default function NoteContentSwitcher({ text, note, templates }: NoteContentSwitcherProps) { const blob = useNoteSavedData(note?.noteId); return (blob?.length === 0 &&