mirror of https://github.com/zulip/zulip.git
typeahead_list_item.handlebars: Upgrade to font-awesome 4.7 icon prefixes.
We also remove a CSS hack that was required because the original icon was poorly centered.
This commit is contained in:
parent
ae6c8692a9
commit
21b9e8dee1
|
@ -598,7 +598,7 @@ run_test('initialize', () => {
|
|||
|
||||
fake_this = { completing: 'mention', token: 'hamletcharacters' };
|
||||
actual_value = options.highlighter.call(fake_this, hamletcharacters);
|
||||
expected_value = ' <i class="typeahead-image icon icon-vector-group"></i>\n<strong>hamletcharacters</strong> \n<small class="autocomplete_secondary">Characters of Hamlet</small>\n';
|
||||
expected_value = ' <i class="typeahead-image icon fa fa-group" aria-hidden="true"></i>\n<strong>hamletcharacters</strong> \n<small class="autocomplete_secondary">Characters of Hamlet</small>\n';
|
||||
assert.equal(actual_value, expected_value);
|
||||
|
||||
// options.matcher()
|
||||
|
|
|
@ -1776,11 +1776,6 @@ blockquote p {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
.typeahead-image.icon {
|
||||
/* This aligns the icon vertically. */
|
||||
top: 0px;
|
||||
}
|
||||
|
||||
.nav .dropdown-menu:after {
|
||||
position: absolute;
|
||||
width: 0px;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
{{/if}}
|
||||
{{else}}
|
||||
{{#if is_user_group}}
|
||||
<i class="typeahead-image icon icon-vector-group"></i>
|
||||
<i class="typeahead-image icon fa fa-group" aria-hidden="true"></i>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
Loading…
Reference in New Issue