From f0f0da8bcae5edb66d7a2014bd86318225d2e50c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Mon, 25 Mar 2024 11:28:06 +0100 Subject: [PATCH] Minor style improvements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- src/components/account.tsx | 3 ++- src/components/ui/accordion/accordion.tsx | 2 +- src/components/ui/checkbox/checkbox.tsx | 2 +- src/features/auth-login/components/consumers-list.tsx | 2 +- src/features/directory/components/account-card.tsx | 3 +-- src/features/soapbox-config/components/icon-picker-menu.tsx | 2 +- src/features/status/components/thread-status.tsx | 2 +- src/features/status/components/thread.tsx | 4 ++-- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/account.tsx b/src/components/account.tsx index cca7f47ce..d4c252654 100644 --- a/src/components/account.tsx +++ b/src/components/account.tsx @@ -286,9 +286,10 @@ const Account = ({ ) : withAccountNote && ( )} diff --git a/src/components/ui/accordion/accordion.tsx b/src/components/ui/accordion/accordion.tsx index f415dac08..7e959c227 100644 --- a/src/components/ui/accordion/accordion.tsx +++ b/src/components/ui/accordion/accordion.tsx @@ -81,7 +81,7 @@ const Accordion: React.FC = ({ headline, children, menu, expanded =
((props, ref) => { {...props} ref={ref} type='checkbox' - className='h-4 w-4 rounded border-2 border-gray-300 text-primary-600 focus:ring-primary-500 dark:border-gray-800 dark:bg-gray-900' + className='h-4 w-4 rounded border-2 border-gray-300 text-primary-600 focus:ring-primary-500 black:bg-black dark:border-gray-800 dark:bg-gray-900' /> ); }); diff --git a/src/features/auth-login/components/consumers-list.tsx b/src/features/auth-login/components/consumers-list.tsx index 799238449..e236ff101 100644 --- a/src/features/auth-login/components/consumers-list.tsx +++ b/src/features/auth-login/components/consumers-list.tsx @@ -16,7 +16,7 @@ const ConsumersList: React.FC = () => { if (providers.length > 0) { return ( - + diff --git a/src/features/directory/components/account-card.tsx b/src/features/directory/components/account-card.tsx index 21e0eb89e..3e28821b1 100644 --- a/src/features/directory/components/account-card.tsx +++ b/src/features/directory/components/account-card.tsx @@ -1,4 +1,3 @@ -import clsx from 'clsx'; import React from 'react'; import { FormattedMessage } from 'react-intl'; @@ -57,7 +56,7 @@ const AccountCard: React.FC = ({ id }) => { diff --git a/src/features/soapbox-config/components/icon-picker-menu.tsx b/src/features/soapbox-config/components/icon-picker-menu.tsx index 8267d83a6..8287e1fc1 100644 --- a/src/features/soapbox-config/components/icon-picker-menu.tsx +++ b/src/features/soapbox-config/components/icon-picker-menu.tsx @@ -79,7 +79,7 @@ const IconPickerMenu: React.FC = ({ icons, onClose, onPick, sty return (
diff --git a/src/features/status/components/thread-status.tsx b/src/features/status/components/thread-status.tsx index fe43f62ed..a3674aa68 100644 --- a/src/features/status/components/thread-status.tsx +++ b/src/features/status/components/thread-status.tsx @@ -31,7 +31,7 @@ const ThreadStatus: React.FC = (props): JSX.Element => { return ( );