css: Use classname for scroll-to-bottom 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:
Shubham Padia
2024-09-03 07:16:38 +00:00
committed by Tim Abbott
parent fe44ce3e24
commit a764e80a1b
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
<div id="scroll-to-bottom-button-container" aria-hidden="true">
<div id="scroll-to-bottom-button-clickable-area" data-tooltip-template-id="scroll-to-bottom-button-tooltip-template">
<div id="scroll-to-bottom-button">
<i class="fa fa-chevron-down"></i>
<i class="scroll-to-bottom-icon fa fa-chevron-down"></i>
</div>
</div>
</div>