From c6cec2dd913a38489cd07efc0afe5a0a0f1b6358 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Thu, 12 Mar 2026 14:37:54 +0100 Subject: [PATCH] nicolium: styles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- .../components/chat-search/blankslate.tsx | 5 +- .../chats/components/chat-textarea.tsx | 5 +- .../components/chat-widget/chat-settings.tsx | 10 ++-- .../components/chat-widget/chat-window.tsx | 18 +++--- .../chat-widget/shoutbox-window.tsx | 18 +++--- .../src/features/chats/components/chat.tsx | 5 +- .../components/chats-page/chats-page.tsx | 13 ++--- .../components/blankslate-empty.tsx | 9 ++- .../components/blankslate-with-chats.tsx | 9 ++- .../chats-page/components/chats-page-chat.tsx | 22 ++++--- .../chats-page/components/chats-page-new.tsx | 26 ++++----- .../components/chats-page-settings.tsx | 10 ++-- .../components/chats-page-shoutbox.tsx | 52 ++++++++--------- .../components/chats-page-sidebar.tsx | 46 +++++++-------- .../chats/components/shoutbox-composer.tsx | 14 ++--- .../components/shoutbox-message-list.tsx | 58 ++++++++----------- .../event/components/event-header.tsx | 5 +- .../components/instance-restrictions.tsx | 8 +-- .../components/crypto-address-input.tsx | 5 +- .../components/footer-link-input.tsx | 5 +- .../src/pages/timelines/group-timeline.tsx | 4 +- 21 files changed, 151 insertions(+), 196 deletions(-) diff --git a/packages/nicolium/src/features/chats/components/chat-search/blankslate.tsx b/packages/nicolium/src/features/chats/components/chat-search/blankslate.tsx index 8b2f61087..5db8be959 100644 --- a/packages/nicolium/src/features/chats/components/chat-search/blankslate.tsx +++ b/packages/nicolium/src/features/chats/components/chat-search/blankslate.tsx @@ -1,11 +1,10 @@ import React from 'react'; import { FormattedMessage } from 'react-intl'; -import Stack from '@/components/ui/stack'; import Text from '@/components/ui/text'; const Blankslate = () => ( - +
@@ -15,7 +14,7 @@ const Blankslate = () => ( defaultMessage='Search for someone to chat with.' /> - +
); export { Blankslate as default }; diff --git a/packages/nicolium/src/features/chats/components/chat-textarea.tsx b/packages/nicolium/src/features/chats/components/chat-textarea.tsx index 270c295cb..bcfbe88e4 100644 --- a/packages/nicolium/src/features/chats/components/chat-textarea.tsx +++ b/packages/nicolium/src/features/chats/components/chat-textarea.tsx @@ -1,6 +1,5 @@ import React from 'react'; -import HStack from '@/components/ui/hstack'; import Textarea from '@/components/ui/textarea'; import ChatPendingUpload from './chat-pending-upload'; @@ -22,7 +21,7 @@ const ChatTextarea = React.forwardRef( className={`block w-full rounded-md border border-gray-400 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 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`} > {(attachment ?? uploading) && ( - +
{attachment && (
(
)} - +
)}