Wrap the emoji selector on smaller screens

This commit is contained in:
Alex Gleason 2022-11-26 11:02:50 -06:00
parent c3ada63732
commit 596653ee1e
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -47,8 +47,7 @@ const EmojiSelector: React.FC<IEmojiSelector> = ({ emojis, onReact, visible = fa
return (
<HStack
space={2}
className={classNames('bg-white dark:bg-gray-900 p-3 rounded-full shadow-md z-[999] w-max')}
className={classNames('gap-2 bg-white dark:bg-gray-900 p-3 rounded-full shadow-md z-[999] w-max max-w-[100vw] flex-wrap')}
>
{Array.from(emojis).map((emoji, i) => (
<EmojiButton