diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2026-03-12 13:45:39 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2026-03-12 13:45:39 +0100 |
| commit | e8a68ae332031e6036323729de168f6eaacccbf3 (patch) | |
| tree | b05f95849d01f53f4114b40a18ff1a393b343d50 | |
| parent | b85d8d09a52fcff76f45e011ee299b6afc6da5ac (diff) | |
system notifications' text should not jump when hovering, display close icon also when focus is inside the box, fixes #6356
Closes #6356
Merge request studip/studip!4817
| -rw-r--r-- | resources/assets/stylesheets/scss/system-notifications.scss | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/resources/assets/stylesheets/scss/system-notifications.scss b/resources/assets/stylesheets/scss/system-notifications.scss index 24a15a7..4e2f0c6 100644 --- a/resources/assets/stylesheets/scss/system-notifications.scss +++ b/resources/assets/stylesheets/scss/system-notifications.scss @@ -105,7 +105,7 @@ .system-notification-close { align-self: normal; - display: none; + visibility: hidden; flex: 0; height: 20px; width: 20px; @@ -160,9 +160,10 @@ text-decoration: unset; } - &:hover { + &:hover, + &:focus-within { .system-notification-close { - display: unset; + visibility: unset; } } |
