From 59ba6a0b1ec1e9d248fccf45bd8913bf5d47fc75 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 19 Aug 2025 22:32:20 +0300 Subject: [PATCH] chore(react/settings): use FormGroup for labels --- .../type_widgets/options/appearance.tsx | 36 +++++++++---------- .../type_widgets/options/code_notes.tsx | 9 +++-- .../type_widgets/options/text_notes.tsx | 19 +++++----- 3 files changed, 29 insertions(+), 35 deletions(-) diff --git a/apps/client/src/widgets/type_widgets/options/appearance.tsx b/apps/client/src/widgets/type_widgets/options/appearance.tsx index dd9e9a9ef..bf6bf4854 100644 --- a/apps/client/src/widgets/type_widgets/options/appearance.tsx +++ b/apps/client/src/widgets/type_widgets/options/appearance.tsx @@ -145,20 +145,20 @@ function ApplicationTheme() { return ( - - - - +
+ + + - - - + + + +
) } @@ -189,24 +189,22 @@ function Font({ title, fontFamilyOption, fontSizeOption }: { title: string, font <>
{title}
- - + - + - - + - +
); diff --git a/apps/client/src/widgets/type_widgets/options/code_notes.tsx b/apps/client/src/widgets/type_widgets/options/code_notes.tsx index f86639ea5..1da25db8c 100644 --- a/apps/client/src/widgets/type_widgets/options/code_notes.tsx +++ b/apps/client/src/widgets/type_widgets/options/code_notes.tsx @@ -56,15 +56,14 @@ function Appearance() { return ( - - - +
+ - + - +
diff --git a/apps/client/src/widgets/type_widgets/options/text_notes.tsx b/apps/client/src/widgets/type_widgets/options/text_notes.tsx index a8506a5e2..bea83b988 100644 --- a/apps/client/src/widgets/type_widgets/options/text_notes.tsx +++ b/apps/client/src/widgets/type_widgets/options/text_notes.tsx @@ -153,9 +153,8 @@ function CodeBlockStyle() { return ( - - - +
+ - + - +
@@ -302,21 +301,19 @@ function DateTimeFormatOptions() { - - + - + - - +
{formatDateTime(new Date(), customDateTimeFormat)}
-
+ )