From 3fa12d89508777e3767b9f07f94badd2ad74e748 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 31 Oct 2022 01:41:34 +0400 Subject: [PATCH] Added :focus-within for tr. --- web/assets/css/main.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/assets/css/main.css b/web/assets/css/main.css index 367e25f..d9e2992 100644 --- a/web/assets/css/main.css +++ b/web/assets/css/main.css @@ -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; }