topic-popover: Add chevron-right icon in topic popover title.

This commit is contained in:
SiddharthVarshney 2020-06-20 21:20:19 +05:30 committed by Tim Abbott
parent aa82008503
commit b122ad7da4
3 changed files with 6 additions and 0 deletions

View File

@ -193,6 +193,7 @@ function build_topic_popover(opts) {
can_mute_topic: can_mute_topic, can_mute_topic: can_mute_topic,
can_unmute_topic: can_unmute_topic, can_unmute_topic: can_unmute_topic,
is_admin: sub.is_admin, is_admin: sub.is_admin,
color: sub.color,
}); });
$(elt).popover({ $(elt).popover({

View File

@ -122,6 +122,10 @@ ul {
text-align: center; text-align: center;
margin-top: 5px; margin-top: 5px;
margin-bottom: 5px; margin-bottom: 5px;
.fa-chevron-right {
font-size: 12px;
}
} }
.admin-separator { .admin-separator {

View File

@ -1,6 +1,7 @@
<ul class="nav nav-list topics_popover"> <ul class="nav nav-list topics_popover">
<li> <li>
<p class="topic-name"> <p class="topic-name">
<i class="fa fa-chevron-right" aria-hidden="true" style="color: {{color}}"></i>
<b>{{topic_name}}</b> <b>{{topic_name}}</b>
</p> </p>
</li> </li>