From b122ad7da47785ab5f8429ea788df9ab8c88e8e9 Mon Sep 17 00:00:00 2001 From: SiddharthVarshney Date: Sat, 20 Jun 2020 21:20:19 +0530 Subject: [PATCH] topic-popover: Add chevron-right icon in topic popover title. --- static/js/stream_popover.js | 1 + static/styles/popovers.scss | 4 ++++ static/templates/topic_sidebar_actions.hbs | 1 + 3 files changed, 6 insertions(+) diff --git a/static/js/stream_popover.js b/static/js/stream_popover.js index df2e52740d..ef8746a70e 100644 --- a/static/js/stream_popover.js +++ b/static/js/stream_popover.js @@ -193,6 +193,7 @@ function build_topic_popover(opts) { can_mute_topic: can_mute_topic, can_unmute_topic: can_unmute_topic, is_admin: sub.is_admin, + color: sub.color, }); $(elt).popover({ diff --git a/static/styles/popovers.scss b/static/styles/popovers.scss index 724e0cf74c..251dbb3a6c 100644 --- a/static/styles/popovers.scss +++ b/static/styles/popovers.scss @@ -122,6 +122,10 @@ ul { text-align: center; margin-top: 5px; margin-bottom: 5px; + + .fa-chevron-right { + font-size: 12px; + } } .admin-separator { diff --git a/static/templates/topic_sidebar_actions.hbs b/static/templates/topic_sidebar_actions.hbs index 791caf2def..b2a8475f91 100644 --- a/static/templates/topic_sidebar_actions.hbs +++ b/static/templates/topic_sidebar_actions.hbs @@ -1,6 +1,7 @@