Skip to content
Snippets Groups Projects
Commit 5cd2cf85 authored by Chad Lavimoniere's avatar Chad Lavimoniere
Browse files

Use correct height value for emoji picker rows

The constant that represents emoji row height is 2px too small, which
means that categories with many rows will end up with overflowed row(s)
at the end.

Changelog: fixed
parent f88a1d72
No related branches found
No related tags found
3 merge requests!181325Fix ambiguous `created_at` in project.rb,!179611Draft: Rebase CR approach for zoekt assignments,!176045Use correct height value for emoji picker rows
......@@ -34,7 +34,7 @@ export const CATEGORY_ICON_MAP = {
/* eslint-enable @gitlab/require-i18n-strings */
export const EMOJIS_PER_ROW = 9;
export const EMOJI_ROW_HEIGHT = 34;
export const EMOJI_ROW_HEIGHT = 36;
export const CATEGORY_ROW_HEIGHT = 37;
export const CACHE_VERSION_KEY = 'gl-emoji-map-version';
......
......@@ -22,7 +22,7 @@ describe('getFrequentlyUsedEmojis', () => {
frequently_used: {
emojis: [[EMOJI_THUMBS_UP, EMOJI_THUMBS_DOWN]],
top: 0,
height: 71,
height: 73,
},
});
});
......@@ -36,7 +36,7 @@ describe('getFrequentlyUsedEmojis', () => {
frequently_used: {
emojis: [[EMOJI_THUMBS_UP, EMOJI_THUMBS_DOWN]],
top: 0,
height: 71,
height: 73,
},
});
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment