Skip to content

Commit 33fde82

Browse files
authoredApr 9, 2021
fix(ui5-shellbar): hide notification bubble if empty str (#3123)
The notification bubble used to remain displayed when notification-count is an empty string. Fixes: #3121
1 parent d220a28 commit 33fde82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎packages/fiori/src/themes/ShellBar.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ slot[name="profile"] {
326326
position: relative;
327327
}
328328

329-
:host([notification-count]) .ui5-shellbar-bell-button::before,
329+
:host([notification-count]:not([notification-count=""])) .ui5-shellbar-bell-button::before,
330330
.ui5-shellbar-button[data-count]::before {
331331
position: absolute;
332332
width: auto;
@@ -347,7 +347,7 @@ slot[name="profile"] {
347347
box-sizing: border-box;
348348
}
349349

350-
:host([notification-count]) .ui5-shellbar-bell-button::before {
350+
:host([notification-count]:not([notification-count=""])) .ui5-shellbar-bell-button::before {
351351
content: attr(data-ui5-notification-count);
352352
}
353353

0 commit comments

Comments
 (0)
Please sign in to comment.