diff --git a/web/components/chat/ChatTextField/ChatTextField.module.scss b/web/components/chat/ChatTextField/ChatTextField.module.scss index 107631a9a..9cfea5c49 100644 --- a/web/components/chat/ChatTextField/ChatTextField.module.scss +++ b/web/components/chat/ChatTextField/ChatTextField.module.scss @@ -1,8 +1,13 @@ .root { + position: absolute; + bottom: 0px; + width: 100%; padding: .3rem; color: var(--text-secondry); + overflow-x: hidden; div[role=textbox] { padding: .6rem; + padding-right: calc(0.6rem + 44px); border-radius: .35rem; background-color: var(--color-owncast-gray-700); & > p { @@ -10,3 +15,22 @@ } } } +.inputWrapper { + display: flex; + position: relative; +} + +.emojiButton { + border: none; + margin-right: 5px; + position: absolute; + right: 0px; + top: 50%; + transform: translateY(-50%); +} + +.submitButtonWrapper { + display: flex; + padding: 6px 0; + justify-content: flex-end; +} diff --git a/web/components/chat/ChatTextField/ChatTextField.tsx b/web/components/chat/ChatTextField/ChatTextField.tsx index 3f2d82107..75b5c2aaf 100644 --- a/web/components/chat/ChatTextField/ChatTextField.tsx +++ b/web/components/chat/ChatTextField/ChatTextField.tsx @@ -144,25 +144,34 @@ export default function ChatTextField(props: Props) { return (
- - } - // placeholder="Chat message goes here..." - /> - - - - - +
+ + } + placeholder="Chat message goes here..." + style={{ width: '100%' }} + /> + + +
+
+ +
} trigger="click"