add Twitch style emote autocomplete

This commit is contained in:
2026-10-25 05:00:31 +01:00
parent 810589647b
commit 1b7c41ea07
2 changed files with 52 additions and 1 deletions
+24
View File
@@ -278,6 +278,30 @@ button:hover:not(:disabled) {
color: var(--ed-accent);
font: 10px var(--font-data);
}
.chat-emote-picker {
display: flex;
max-height: 180px;
flex-direction: column;
overflow: auto;
margin-bottom: 6px;
border: 1px solid var(--ui-line);
background: var(--ed-bg);
}
.chat-emote-option {
display: grid;
grid-template-columns: 28px 1fr auto;
align-items: center;
gap: 8px;
width: 100%;
border: 0;
border-bottom: 1px solid var(--ui-divider);
text-align: left;
}
.chat-emote-option img {
width: 28px;
height: 28px;
object-fit: contain;
}
.workspace {
display: grid;
grid-template-columns: 214px 1fr;