message_view_header: Add divider after stream name for spectator.

Since originally divider is a part of sub_count which is not
displayed for spectators, we need to add a new one for them.
This commit is contained in:
Aman Agrawal 2022-04-29 17:35:02 +00:00 committed by Tim Abbott
parent 88110e7188
commit ce62c11720
2 changed files with 7 additions and 0 deletions

View File

@ -1789,6 +1789,12 @@ div.focused_table {
padding-right: calc(3px + 10px);
}
.divider {
color: hsl(0, 0%, 88%);
font-size: 20px;
margin: 0 3px;
}
.sub_count,
.narrow_description {
background: none;

View File

@ -2,6 +2,7 @@
<a class="stream" href="{{stream_settings_link}}">
{{> navbar_icon_and_title }}
</a>
<div class="divider only-visible-for-spectators">|</div>
<a class="sub_count no-style tippy-zulip-tooltip hidden-for-spectators" data-tippy-content="{{sub_count_tooltip_text}}" data-tippy-placement="bottom" href="{{stream_settings_link}}">
<i class="fa fa-user-o"></i>{{formatted_sub_count}}
</a>