mirror of
https://github.com/vinta/awesome-python.git
synced 2026-11-08 02:15:12 -06:00
fix: keep the hidden back-to-top button out of the tab order
The hidden back-to-top button was only transparent, so Tab still stopped on it and its focus outline was invisible. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1269,14 +1269,18 @@ th[data-sort].sort-asc::after {
|
||||
letter-spacing: 0.03em;
|
||||
cursor: pointer;
|
||||
opacity: 0;
|
||||
/* Keeps the hidden button out of the tab order; stays visible for the whole fade */
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
transition:
|
||||
opacity 180ms ease,
|
||||
visibility 180ms ease,
|
||||
color 180ms ease;
|
||||
}
|
||||
|
||||
.back-to-top.visible {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user