Always use the body background for notification menu

On small screen the menu inherits of the navbar background which reduces the
contrast with the item of the menu.

Closes #14855
(grafted from d6e959a65a3f1ec3fb65f96808df61b66bedb4cb)

--HG--
branch : 8.0
This commit is contained in:
Cédric Krier
2026-05-21 11:05:05 +02:00
parent c1302e526e
commit 174257d1fd
+8
View File
@@ -441,6 +441,9 @@ html[theme="default"] {
}
ul.notification-menu {
background-color: @body-bg;
color: @text-color;
@media (min-width: @grid-float-breakpoint) {
width: 320px;
}
@@ -453,6 +456,7 @@ html[theme="default"] {
}
> a {
color: @text-color;
display: flex;
padding: 3px 10px;
@@ -489,6 +493,10 @@ html[theme="default"] {
}
}
}
> li.divider {
background-color: @dropdown-divider-bg;
}
}
}