diff --git a/webapp/channels/src/components/emoji_picker/__snapshots__/emoji_picker.test.tsx.snap b/webapp/channels/src/components/emoji_picker/__snapshots__/emoji_picker.test.tsx.snap index 85a20fb9544..2d6c5fd6358 100644 --- a/webapp/channels/src/components/emoji_picker/__snapshots__/emoji_picker.test.tsx.snap +++ b/webapp/channels/src/components/emoji_picker/__snapshots__/emoji_picker.test.tsx.snap @@ -134,7 +134,9 @@ exports[`components/emoji_picker/EmojiPicker should match snapshot 1`] = ` style="height: 290px;" >
{row.items.map((emojiColumn) => { const emoji = emojiColumn.item; diff --git a/webapp/channels/src/components/emoji_picker/components/emoji_picker_category_row.tsx b/webapp/channels/src/components/emoji_picker/components/emoji_picker_category_row.tsx index 3835d98d456..01d052b7362 100644 --- a/webapp/channels/src/components/emoji_picker/components/emoji_picker_category_row.tsx +++ b/webapp/channels/src/components/emoji_picker/components/emoji_picker_category_row.tsx @@ -17,6 +17,7 @@ function EmojiPickerCategoryRow({categoryName, style}: Props) {
(({categoryOr className='emoji-picker__items' style={{height: EMOJI_CONTAINER_HEIGHT}} > -
+
{({height, width}) => ( ); } else { @@ -89,15 +88,17 @@ function EmojiPickerItem({emoji, rowIndex, isSelected, onClick, onMouseOver}: Pr } return ( -
-
- {content} -
-
+ {content} + ); } diff --git a/webapp/channels/src/sass/components/_emoticons.scss b/webapp/channels/src/sass/components/_emoticons.scss index 2f51ac09766..4a87a5deb95 100644 --- a/webapp/channels/src/sass/components/_emoticons.scss +++ b/webapp/channels/src/sass/components/_emoticons.scss @@ -538,7 +538,9 @@ $emoji-footer-height: $emoji-footer-border-width + $emoji-half-height + $emoji- height: 36px; align-items: center; justify-content: center; + border:none; border-radius: 3px; + background-color: transparent; cursor: pointer; vertical-align: middle;