diff --git a/apps/audius-client/packages/web/src/components/data-entry/TextAreaV2.module.css b/apps/audius-client/packages/web/src/components/data-entry/TextAreaV2.module.css index fb7840b875d..022142fcef5 100644 --- a/apps/audius-client/packages/web/src/components/data-entry/TextAreaV2.module.css +++ b/apps/audius-client/packages/web/src/components/data-entry/TextAreaV2.module.css @@ -74,3 +74,9 @@ align-items: flex-end; gap: var(--unit-1); } + +.children { + display: flex; + align-items: center; + overflow: visible; +} diff --git a/apps/audius-client/packages/web/src/components/data-entry/TextAreaV2.tsx b/apps/audius-client/packages/web/src/components/data-entry/TextAreaV2.tsx index 2a9a893c0b8..928e98f0d0a 100644 --- a/apps/audius-client/packages/web/src/components/data-entry/TextAreaV2.tsx +++ b/apps/audius-client/packages/web/src/components/data-entry/TextAreaV2.tsx @@ -102,7 +102,12 @@ export const TextAreaV2 = (props: TextAreaV2Props) => { />
-
{children}
+
+ {children} +
{showMaxLength ? (
& { const MAX_MESSAGE_LENGTH = 10000 +type ChatSendButtonProps = { disabled: boolean } + +export const ChatSendButton = ({ disabled }: ChatSendButtonProps) => { + return ( + } + /> + ) +} + export const ChatComposer = (props: ChatComposerProps) => { const { chatId } = props const dispatch = useDispatch() @@ -81,13 +95,7 @@ export const ChatComposer = (props: ChatComposerProps) => { grows resize > - } - /> +