mirror of
https://github.com/vinta/awesome-python.git
synced 2026-11-20 06:40:51 +00:00
fix: draw a focused tag's ring above the next tag
The focus ring reaches farther than the gap between tags, and the next tag painted over its right side. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
179d455259
commit
3fc97705e7
1 changed files with 5 additions and 0 deletions
|
|
@ -1243,6 +1243,11 @@ th[data-sort].sort-asc::after {
|
||||||
margin-left: 0.2rem;
|
margin-left: 0.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* The focus ring reaches past the gap, so lift it above the next tag */
|
||||||
|
.tag:focus-visible {
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
/* A 44px-tall target centered on the pill, kept clear of the neighbouring tags */
|
/* A 44px-tall target centered on the pill, kept clear of the neighbouring tags */
|
||||||
.tag::after {
|
.tag::after {
|
||||||
content: "";
|
content: "";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue