1
0
Fork 0

Added :focus-within for tr.

This commit is contained in:
Alexander Andreev 2022-10-31 01:41:34 +04:00
parent 7da359ddda
commit 3fa12d8950
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
1 changed files with 4 additions and 2 deletions

View File

@ -164,9 +164,11 @@ table { overflow-y: scroll; width: 100%; }
tr { vertical-align: top; }
tr:hover { background-color: var(--primary-color); color: white; }
tr:hover,
tr:focus-within { background-color: var(--primary-color); color: white; }
tr:hover a { color: white; }
tr:hover a,
tr:focus-within a { color: white; }
th { text-align: left; }