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:46:00 +0100 |
| commit | fd6a6220690ff5a2d4e55973a02bdd07137e8041 (patch) | |
| tree | ef3d2bb9fcda47ba145349793bfaefdf4d66d443 | |
| parent | 62db3e71cff7b307285698501618c50bb37bee68 (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 b17cce5..505f2c4 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; @@ -163,9 +163,10 @@ text-decoration: unset; } - &:hover { + &:hover, + &:focus-within { .system-notification-close { - display: unset; + visibility: unset; } } |
