style: hide back-to-top label on phones

On phones the "Top ↑" header button was wider than the row arrows, so it set the arrow column's width and left a wide gap between the downloads number and the arrow.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen
2026-10-26 12:08:16 +08:00
co-authored by Claude
parent 0b9e69252d
commit be3956f902
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -1906,7 +1906,9 @@ th[data-sort].sort-asc::after {
.col-num,
.col-cat,
.group-count {
.group-count,
/* Leaves the arrow column as narrow as the row arrows */
.back-to-top-label {
display: none;
}
+1 -1
View File
@@ -53,7 +53,7 @@
<th class="col-cat">Tags</th>
<th class="col-arrow">
<button class="back-to-top" aria-label="Back to top">
Top &uarr;
<span class="back-to-top-label">Top</span> &uarr;
</button>
</th>
</tr>