mirror of
https://github.com/vinta/awesome-python.git
synced 2026-11-20 06:40:51 +00:00
fix: draw one focus outline on a focused table row
Keyboard focus on a table row drew one box per cell, because the focused row fell back to the browser's default outline and each cell also got an inset accent stripe on its left edge. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
94126bc6bc
commit
f45997e386
1 changed files with 5 additions and 1 deletions
|
|
@ -903,9 +903,13 @@ kbd {
|
|||
background: var(--row-hover);
|
||||
}
|
||||
|
||||
.row:focus-visible {
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
.row:focus-visible td {
|
||||
background: var(--row-focus);
|
||||
box-shadow: inset 3px 0 0 var(--accent);
|
||||
}
|
||||
|
||||
.row:has(+ .desc-row:not([hidden])) td {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue