From 97036d3c427db971006c49a81f45c8a43b1e8184 Mon Sep 17 00:00:00 2001 From: danidfra Date: Tue, 22 Oct 2024 22:25:54 -0300 Subject: [PATCH] Adjust tailwind css classnames order --- src/components/big-card.tsx | 4 ++-- src/components/site-error-boundary.tsx | 2 +- src/components/statuses/status-info.tsx | 2 +- src/components/ui/language-dropdown/language-dropdown.tsx | 4 ++-- src/components/ui/modal/modal.tsx | 4 ++-- src/components/ui/select/select.tsx | 2 +- src/components/ui/tag-input/tag-input.tsx | 2 +- src/components/ui/textarea/textarea.tsx | 2 +- src/components/ui/widget/widget.tsx | 2 +- src/features/account/components/header.tsx | 4 ++-- src/features/aliases/components/search.tsx | 2 +- src/features/auth-login/components/consumers-list.tsx | 2 +- src/features/chats/components/chat-page/chat-page.tsx | 4 ++-- src/features/chats/components/chat-textarea.tsx | 6 +++--- src/features/chats/components/chat-widget/chat-settings.tsx | 2 +- src/features/chats/components/chat-widget/chat-window.tsx | 2 +- .../components/chat-widget/headers/chat-search-header.tsx | 2 +- src/features/chats/components/ui/pane.tsx | 2 +- src/features/edit-profile/components/header-picker.tsx | 2 +- src/features/event/components/event-header.tsx | 4 ++-- src/features/feed-suggestions/feed-suggestions.tsx | 2 +- src/features/group/components/group-header.tsx | 6 +++--- .../placeholder/components/placeholder-notification.tsx | 2 +- src/features/status/components/thread-status.tsx | 2 +- .../modals/compose-event-modal/compose-event-modal.tsx | 4 ++-- .../modals/manage-group-modal/steps/confirmation-step.tsx | 2 +- .../modals/onboarding-flow-modal/steps/avatar-step.tsx | 4 ++-- .../modals/onboarding-flow-modal/steps/bio-step.tsx | 6 +++--- .../modals/onboarding-flow-modal/steps/completed-step.tsx | 4 ++-- .../steps/cover-photo-selection-step.tsx | 6 +++--- .../onboarding-flow-modal/steps/display-name-step.tsx | 6 +++--- .../onboarding-flow-modal/steps/suggested-accounts-step.tsx | 6 +++--- src/features/ui/components/modals/zap-invoice.tsx | 2 +- src/features/ui/components/profile-dropdown.tsx | 2 +- src/features/ui/index.tsx | 2 +- src/features/zap/components/zap-pay-request-form.tsx | 4 ++-- src/pages/landing-page.tsx | 2 +- 37 files changed, 59 insertions(+), 59 deletions(-) diff --git a/src/components/big-card.tsx b/src/components/big-card.tsx index 8e822f719..f6b7ce614 100644 --- a/src/components/big-card.tsx +++ b/src/components/big-card.tsx @@ -16,9 +16,9 @@ const BigCard: React.FC = ({ title, subtitle, children, onClose }) => return ( -
+
- {onClose && ()} + {onClose && ()} {title} {subtitle && {subtitle}} diff --git a/src/components/site-error-boundary.tsx b/src/components/site-error-boundary.tsx index f06c13f2d..3e4712a4c 100644 --- a/src/components/site-error-boundary.tsx +++ b/src/components/site-error-boundary.tsx @@ -84,7 +84,7 @@ const SiteErrorBoundary: React.FC = ({ children }) => {
-

+

diff --git a/src/components/statuses/status-info.tsx b/src/components/statuses/status-info.tsx index 57eb3199e..b97513177 100644 --- a/src/components/statuses/status-info.tsx +++ b/src/components/statuses/status-info.tsx @@ -25,7 +25,7 @@ const StatusInfo = (props: IStatusInfo) => {

= ({ language, setLanguage } return ( {language ? ( - ) : ( - + )} ); diff --git a/src/components/ui/modal/modal.tsx b/src/components/ui/modal/modal.tsx index 045909030..82b9e6482 100644 --- a/src/components/ui/modal/modal.tsx +++ b/src/components/ui/modal/modal.tsx @@ -118,7 +118,7 @@ const Modal = React.forwardRef(({ src={require('@tabler/icons/outline/arrow-left.svg')} title={intl.formatMessage(messages.back)} onClick={onBack} - className='text-gray-500 hover:text-gray-700 rtl:rotate-180 dark:text-gray-300 dark:hover:text-gray-200' + className='text-gray-500 hover:text-gray-700 dark:text-gray-300 dark:hover:text-gray-200 rtl:rotate-180' /> )} @@ -131,7 +131,7 @@ const Modal = React.forwardRef(({ src={closeIcon} title={intl.formatMessage(messages.close)} onClick={onClose} - className='text-gray-500 hover:text-gray-700 rtl:rotate-180 dark:text-gray-300 dark:hover:text-gray-200' + className='text-gray-500 hover:text-gray-700 dark:text-gray-300 dark:hover:text-gray-200 rtl:rotate-180' /> )}
diff --git a/src/components/ui/select/select.tsx b/src/components/ui/select/select.tsx index b74f8195e..1c14fe9ae 100644 --- a/src/components/ui/select/select.tsx +++ b/src/components/ui/select/select.tsx @@ -14,7 +14,7 @@ const Select = React.forwardRef((props, ref) => { = () => { if (providers.length > 0) { return ( - + diff --git a/src/features/chats/components/chat-page/chat-page.tsx b/src/features/chats/components/chat-page/chat-page.tsx index 8384c8744..bb20afa80 100644 --- a/src/features/chats/components/chat-page/chat-page.tsx +++ b/src/features/chats/components/chat-page/chat-page.tsx @@ -60,7 +60,7 @@ const ChatPage: React.FC = ({ chatId }) => {
{isOnboarded ? (
= ({ chatId }) => { data-testid='chat-page' > diff --git a/src/features/chats/components/chat-textarea.tsx b/src/features/chats/components/chat-textarea.tsx index f85d897d5..a8269b0c0 100644 --- a/src/features/chats/components/chat-textarea.tsx +++ b/src/features/chats/components/chat-textarea.tsx @@ -39,9 +39,9 @@ const ChatTextarea: React.FC = React.forwardRef(({ bg-white text-gray-900 shadow-sm placeholder:text-gray-600 focus-within:border-primary-500 - focus-within:ring-1 focus-within:ring-primary-500 sm:text-sm dark:border-gray-800 - dark:bg-gray-800 dark:text-gray-100 dark:ring-1 dark:ring-gray-800 dark:placeholder:text-gray-600 - dark:focus-within:border-primary-500 dark:focus-within:ring-primary-500 + focus-within:ring-1 focus-within:ring-primary-500 dark:border-gray-800 dark:bg-gray-800 + dark:text-gray-100 dark:ring-1 dark:ring-gray-800 dark:placeholder:text-gray-600 dark:focus-within:border-primary-500 + dark:focus-within:ring-primary-500 sm:text-sm `} > {(!!attachments?.length || isUploading) && ( diff --git a/src/features/chats/components/chat-widget/chat-settings.tsx b/src/features/chats/components/chat-widget/chat-settings.tsx index a488eca39..6c337f60c 100644 --- a/src/features/chats/components/chat-widget/chat-settings.tsx +++ b/src/features/chats/components/chat-widget/chat-settings.tsx @@ -96,7 +96,7 @@ const ChatSettings = () => { diff --git a/src/features/chats/components/chat-widget/chat-window.tsx b/src/features/chats/components/chat-widget/chat-window.tsx index bb4e2c1d4..1e9ca007f 100644 --- a/src/features/chats/components/chat-widget/chat-window.tsx +++ b/src/features/chats/components/chat-widget/chat-window.tsx @@ -73,7 +73,7 @@ const ChatWindow = () => { )} diff --git a/src/features/chats/components/chat-widget/headers/chat-search-header.tsx b/src/features/chats/components/chat-widget/headers/chat-search-header.tsx index 41d7f1d3b..81828f51f 100644 --- a/src/features/chats/components/chat-widget/headers/chat-search-header.tsx +++ b/src/features/chats/components/chat-widget/headers/chat-search-header.tsx @@ -27,7 +27,7 @@ const ChatSearchHeader = () => { > diff --git a/src/features/chats/components/ui/pane.tsx b/src/features/chats/components/ui/pane.tsx index 40d58fad2..db9fc9666 100644 --- a/src/features/chats/components/ui/pane.tsx +++ b/src/features/chats/components/ui/pane.tsx @@ -12,7 +12,7 @@ interface IPane { const Pane: React.FC = ({ isOpen = false, children }) => { return (
(({ src, onC