From 4d0d1e8b95ddf52af68f22a66a380d399c1ca25f Mon Sep 17 00:00:00 2001 From: Danil Shishkevich <44939683+shishkevichd@users.noreply.github.com> Date: Sun, 26 Mar 2023 16:29:31 +0700 Subject: [PATCH] chore: change sidebar font size & style (#191) * chore: change sidebar font size & style * chore: create font size style for sidebar --- components/Sidebar/ClearConversations.tsx | 4 ++-- components/Sidebar/Conversation.tsx | 4 ++-- components/Sidebar/Folder.tsx | 2 +- components/Sidebar/Import.tsx | 2 +- components/Sidebar/Key.tsx | 4 ++-- components/Sidebar/Search.tsx | 4 ++-- components/Sidebar/Sidebar.tsx | 14 ++++++++------ components/Sidebar/SidebarButton.tsx | 2 +- components/Sidebar/SidebarSettings.tsx | 4 ++-- tailwind.config.js | 3 +++ 10 files changed, 24 insertions(+), 19 deletions(-) diff --git a/components/Sidebar/ClearConversations.tsx b/components/Sidebar/ClearConversations.tsx index a583c21..1bba3dc 100644 --- a/components/Sidebar/ClearConversations.tsx +++ b/components/Sidebar/ClearConversations.tsx @@ -19,7 +19,7 @@ export const ClearConversations: FC = ({ onClearConversations }) => { return isConfirming ? (
- +
{t('Are you sure?')} @@ -48,7 +48,7 @@ export const ClearConversations: FC = ({ onClearConversations }) => { ) : ( } + icon={} onClick={() => setIsConfirming(true)} /> ); diff --git a/components/Sidebar/Conversation.tsx b/components/Sidebar/Conversation.tsx index b8625c0..4ba766b 100644 --- a/components/Sidebar/Conversation.tsx +++ b/components/Sidebar/Conversation.tsx @@ -64,7 +64,7 @@ export const ConversationComponent: FC = ({ return ( = ({ />
) : ( -
-
{t('No conversations.')}
+
+ + {t('No conversations.')}
)}
diff --git a/components/Sidebar/SidebarButton.tsx b/components/Sidebar/SidebarButton.tsx index 8733dce..6f62be8 100644 --- a/components/Sidebar/SidebarButton.tsx +++ b/components/Sidebar/SidebarButton.tsx @@ -9,7 +9,7 @@ interface Props { export const SidebarButton: FC = ({ text, icon, onClick }) => { return (