forked from lavender/watch-party
fix emoji name overflow (again) and sorting
This commit is contained in:
parent
bc434bfaed
commit
2adc8b9d02
2 changed files with 6 additions and 1 deletions
|
@ -53,7 +53,7 @@ export async function findEmojis(search) {
|
|||
await emojisLoaded;
|
||||
let groups = [[], []];
|
||||
if (search.length < 1) {
|
||||
for (let letter in emojis)
|
||||
for (let letter of Object.keys(emojis).sort())
|
||||
for (let emoji of emojis[letter]) {
|
||||
(emoji[1][0] === ":" ? groups[0] : groups[1]).push(emoji);
|
||||
}
|
||||
|
|
|
@ -299,6 +299,11 @@ button.small-button {
|
|||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.emoji-name {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.emoji-option.selected {
|
||||
background: var(--fg-transparent);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue