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 11:11:04 +08:00
parent 0b9e69252d
commit be3956f902
No known key found for this signature in database
GPG key ID: B93DE4F003C33630
2 changed files with 4 additions and 2 deletions

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;
}

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>