From 255d1d30f9e3a04d4046ff737ee2c12da7ebe474 Mon Sep 17 00:00:00 2001 From: Maria Rushkova <66270386+mrushkova@users.noreply.github.com> Date: Wed, 20 Oct 2021 15:33:48 +0200 Subject: [PATCH] Make icons centered (#88) --- packages/react-chat/src/components/Chat/ChatInput.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-chat/src/components/Chat/ChatInput.tsx b/packages/react-chat/src/components/Chat/ChatInput.tsx index 17535f0..22370dd 100644 --- a/packages/react-chat/src/components/Chat/ChatInput.tsx +++ b/packages/react-chat/src/components/Chat/ChatInput.tsx @@ -136,7 +136,7 @@ export function ChatInput({ theme, addMessage }: ChatInputProps) { const View = styled.div` display: flex; - align-items: flex-end; + align-items: center; padding: 6px 8px 6px 10px; position: relative; `; @@ -144,7 +144,7 @@ const View = styled.div` const Row = styled.div` position: relative; display: flex; - align-items: flex-end; + align-items: center; width: 100%; max-height: 438px; padding-right: 6px;