mirror of
https://github.com/vinta/awesome-python.git
synced 2026-11-20 06:40:51 +00:00
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:
parent
0b9e69252d
commit
be3956f902
2 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 ↑
|
||||
<span class="back-to-top-label">Top</span> ↑
|
||||
</button>
|
||||
</th>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue