fix emoji name overflow (again) and sorting
parent
cdec8b72a9
commit
a514241bee
|
@ -53,7 +53,7 @@ export async function findEmojis(search) {
|
||||||
await emojisLoaded;
|
await emojisLoaded;
|
||||||
let groups = [[], []];
|
let groups = [[], []];
|
||||||
if (search.length < 1) {
|
if (search.length < 1) {
|
||||||
for (let letter in emojis)
|
for (let letter of Object.keys(emojis).sort())
|
||||||
for (let emoji of emojis[letter]) {
|
for (let emoji of emojis[letter]) {
|
||||||
(emoji[1][0] === ":" ? groups[0] : groups[1]).push(emoji);
|
(emoji[1][0] === ":" ? groups[0] : groups[1]).push(emoji);
|
||||||
}
|
}
|
||||||
|
|
|
@ -304,6 +304,11 @@ button.small-button {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.emoji-name {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
.emoji-option.selected {
|
.emoji-option.selected {
|
||||||
background: var(--fg-transparent);
|
background: var(--fg-transparent);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue