mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
Fix for long emoji names in autocomplete
This commit is contained in:
parent
88f38f34cc
commit
9acaecac4a
2 changed files with 10 additions and 1 deletions
|
@ -4,7 +4,8 @@
|
||||||
<li>
|
<li>
|
||||||
<a href>
|
<a href>
|
||||||
{{#if option.src}}
|
{{#if option.src}}
|
||||||
<img src={{option.src}} class='emoji'> {{option.code}}
|
<img src={{option.src}} class='emoji'>
|
||||||
|
<span class='emoji-shortname'>{{option.code}}</span>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{option.label}}
|
{{option.label}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -100,3 +100,11 @@ table.emoji-page td {
|
||||||
.emoji-modal .nav a {
|
.emoji-modal .nav a {
|
||||||
color: dark-light-choose(#333, #ccc);
|
color: dark-light-choose(#333, #ccc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.emoji-shortname {
|
||||||
|
display: inline-block;
|
||||||
|
max-width: 200px;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue