mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
message_row: Remove tag-level filtering in the bookends CSS.
This commit reduces the selector scope and improves the CSS matching performance by avoiding tag-level filtering in the bookends CSS. This also removes the `.sub-unsub-message` class from the bookend as it served no additional support and the `.bookend`` class can be used directly instead to maintain the styling of this element.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{{! Client-side Handlebars template for rendering the trailing bookend. }}
|
||||
<div class="{{#if is_trailing_bookend}}trailing_bookend {{/if}}bookend sub-unsub-message">
|
||||
<div class="{{#if is_trailing_bookend}}trailing_bookend {{/if}}bookend">
|
||||
{{#if is_spectator}}
|
||||
<span class="recent-topics-link">
|
||||
<span class="recent-topics-link bookend-label">
|
||||
<a href="#recent">{{t "Browse recent conversations" }}</a>
|
||||
</span>
|
||||
{{else}}
|
||||
<span class="stream-status">
|
||||
<span class="stream-status bookend-label">
|
||||
{{#if deactivated}}
|
||||
{{t "This channel has been archived." }}
|
||||
{{else if subscribed }}
|
||||
|
Reference in New Issue
Block a user