aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-11 08:50:18 +0100
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-11 09:39:46 +0100
commite587d6fe2be44b0cec9fff46c5509213cfe78b9c (patch)
tree5ae6f5a4f98a26ebaff308b8aa05cda8393dea60
parent69c46a3f2be76d546e158e597e1c7b399070f096 (diff)
also highlight table row when using keyboard navigation, fixes #6345
Closes #6345 Merge request studip/studip!4807
-rw-r--r--resources/assets/stylesheets/scss/tables.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/assets/stylesheets/scss/tables.scss b/resources/assets/stylesheets/scss/tables.scss
index b2bc8c9..306f046 100644
--- a/resources/assets/stylesheets/scss/tables.scss
+++ b/resources/assets/stylesheets/scss/tables.scss
@@ -595,7 +595,7 @@ table.default {
}
// Hover effect
- &:not(.nohover) > tbody:not(.nohover) > tr:not(.nohover):hover > td:not(.nohover) {
+ &:not(.nohover) > tbody:not(.nohover) > tr:not(.nohover):is(:hover, :focus-within) > td:not(.nohover) {
background-color: var(--color--table-header);
}