From 450db9f81739c950d10fd2c7a0bfa63e1366fa82 Mon Sep 17 00:00:00 2001 From: simoleo89 Date: Sun, 14 Jun 2026 21:05:47 +0200 Subject: [PATCH] feat(chat-input): style selector trigger shows selected bubble preview + caret MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the generic grayscale styles-icon trigger with a ▼ caret plus a small clipped preview of the currently-selected chat bubble (chat-bubble bubble-N), matching the reference layout. --- .../widgets/chat-input/ChatInputStyleSelectorView.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/room/widgets/chat-input/ChatInputStyleSelectorView.tsx b/src/components/room/widgets/chat-input/ChatInputStyleSelectorView.tsx index 15f2863..a35f391 100644 --- a/src/components/room/widgets/chat-input/ChatInputStyleSelectorView.tsx +++ b/src/components/room/widgets/chat-input/ChatInputStyleSelectorView.tsx @@ -11,7 +11,7 @@ interface ChatInputStyleSelectorViewProps export const ChatInputStyleSelectorView: FC = props => { - const { chatStyleIds = null, selectChatStyleId = null } = props; + const { chatStyleId = 0, chatStyleIds = null, selectChatStyleId = null } = props; const [ selectorVisible, setSelectorVisible ] = useState(false); const selectStyle = (styleId: number) => @@ -23,8 +23,13 @@ export const ChatInputStyleSelectorView: FC = p return ( -
-
+
+ + + +
+
+