mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +08:00
css: Use classname for all-messages-search-caution icon styles.
Having the selector there affects the performance. See https://chat.zulip.org/#narrow/stream/6-frontend/topic/CSS.20selector.20performance/near/1845719 for more details.
This commit is contained in:
parent
82b68e9bdb
commit
fe44ce3e24
@ -137,7 +137,7 @@ p.n-margin {
|
||||
padding-left: 26px;
|
||||
text-indent: -10px;
|
||||
|
||||
& i {
|
||||
.all-messages-search-caution-icon {
|
||||
margin: 0 3px 0 1px;
|
||||
}
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
<div class="all-messages-search-caution hidden-for-spectators" hidden>
|
||||
<p>
|
||||
<i class="fa fa-exclamation-circle" aria-hidden="true"></i>
|
||||
<i class="all-messages-search-caution-icon fa fa-exclamation-circle" aria-hidden="true"></i>
|
||||
{{#tr}}
|
||||
End of results from your
|
||||
<z-link>history</z-link>.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user