Skip to content

Commit

Permalink
fix(ui5-shellbar): hide notification bubble if empty str (#3123)
Browse files Browse the repository at this point in the history
The notification bubble used to remain displayed when notification-count is an empty string.

Fixes: #3121
  • Loading branch information
ilhan007 authored Apr 9, 2021
1 parent d220a28 commit 33fde82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/fiori/src/themes/ShellBar.css
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ slot[name="profile"] {
position: relative;
}

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

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

Expand Down

0 comments on commit 33fde82

Please sign in to comment.