aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-12 13:45:39 +0100
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-12 13:45:57 +0100
commite203b1bd34e7b08cf3de25dc54e288f81f31dedb (patch)
treeb5ae18d7fadaa2402c965e70a2d50a2eda597b5b
parentf1c044d64500a3bd883a24ccabf1893be2a0eefa (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.scss7
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 b1fbed1..eaf475a 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;
}
}