Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Allow emoji picker to fit smaller viewports (#4651)
dev-KingMaster1791b9ad57a3
diff --git a/web/components/chat/ChatTextField/ChatTextField.module.scss b/web/components/chat/ChatTextField/ChatTextField.module.scssindex 4cad55b5bd..a203ece12f 100644--- a/web/components/chat/ChatTextField/ChatTextField.module.scss+++ b/web/components/chat/ChatTextField/ChatTextField.module.scss@@ -80,3 +80,10 @@cursor: pointer;padding: 0 1rem;}++// Constrain the emoji picker popover to the viewport and allow scrolling.+.emojiPickerContainer {+ max-height: 70vh;+ max-width: 90vw;+ overflow: auto hidden;+}diff --git a/web/components/chat/ChatTextField/ChatTextField.tsx b/web/components/chat/ChatTextField/ChatTextField.tsxindex 319daefb30..2b94ef027e 100644--- a/web/components/chat/ChatTextField/ChatTextField.tsx+++ b/web/components/chat/ChatTextField/ChatTextField.tsx@@ -276,7 +276,11 @@ export const ChatTextField: FC<ChatTextFieldProps> = ({ defaultText, enabled, fo{enabled && (<div style={{ display: 'flex', paddingLeft: '5px' }}><Popover- content={<EmojiPicker customEmoji={customEmoji} onEmojiSelect={onEmojiSelect} />}+ content={+ <div className={styles.emojiPickerContainer}>+ <EmojiPicker customEmoji={customEmoji} onEmojiSelect={onEmojiSelect} />+ </div>+ }trigger="click"placement="topRight">diff --git a/web/components/chat/ChatTextField/EmojiPicker.tsx b/web/components/chat/ChatTextField/EmojiPicker.tsxindex fc8fef0a12..e97d57a377 100644--- a/web/components/chat/ChatTextField/EmojiPicker.tsx+++ b/web/components/chat/ChatTextField/EmojiPicker.tsx@@ -39,6 +39,12 @@ export const EmojiPicker: FC<EmojiPickerProps> = ({ onEmojiSelect, customEmoji }}, []);return (- <Picker data={data} custom={custom} onEmojiSelect={onEmojiSelect} categories={categories} />+ <Picker+ data={data}+ custom={custom}+ onEmojiSelect={onEmojiSelect}+ categories={categories}+ dynamicWidth+ />);};