Skip to content

Commit 1a54cb1

Browse files
authored
Merge pull request #1645 from tpwwu/issue-1626
Issue #1626 Notifications bell stays active (white) even when there are no new notifications
2 parents be92b43 + d3eb424 commit 1a54cb1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/NotificationsDropdown/NotificationsDropdown.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@
5151
.icon-ui-bell path {
5252
fill: $tc-white;
5353
}
54+
55+
&:not(.has-unread) {
56+
.icon-ui-bell path {
57+
fill: $tc-gray-50;
58+
}
59+
}
5460
}
5561

5662
.notifications-dropdown-bell.has-unread {
@@ -67,12 +73,6 @@
6773
}
6874
}
6975

70-
.dropdown-wrap.hide .notifications-dropdown-bell:not(.has-unread) {
71-
> svg > g > g {
72-
fill: $tc-gray-50;
73-
}
74-
}
75-
7676
.notifications-dropdown-body {
7777
// window height
7878
// - 54px dropdown top position

0 commit comments

Comments
 (0)