mirror of
https://github.com/flarum/framework.git
synced 2025-05-31 04:25:49 +08:00
@ -93,7 +93,7 @@ export default class Navigation extends Component {
|
|||||||
|
|
||||||
return Button.component({
|
return Button.component({
|
||||||
className: 'Button Button--icon Navigation-drawer' +
|
className: 'Button Button--icon Navigation-drawer' +
|
||||||
(user && user.unreadNotificationsCount() ? ' unread' : ''),
|
(user && user.newNotificationsCount() ? ' new' : ''),
|
||||||
onclick: e => {
|
onclick: e => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
drawer.show();
|
drawer.show();
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.Navigation-drawer.unread {
|
.Navigation-drawer.new {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
|
Reference in New Issue
Block a user