Update notification menu (#1673)
This commit is contained in:
parent
2432cf2fe1
commit
50fb15c7f2
2 changed files with 11 additions and 3 deletions
|
@ -44,7 +44,7 @@ export default function NotificationHeaderButton(props: Props) {
|
|||
deleteNotification,
|
||||
doSeeAllNotifications,
|
||||
} = props;
|
||||
const list = notifications.slice(0, 5);
|
||||
const list = notifications.slice(0, 20);
|
||||
|
||||
const { push } = useHistory();
|
||||
const notificationsEnabled = authenticated && (ENABLE_UI_NOTIFICATIONS || (user && user.experimental_ui));
|
||||
|
|
|
@ -195,7 +195,6 @@ reach-portal {
|
|||
.MuiMenu-list {
|
||||
padding: 0;
|
||||
backdrop-filter: blur(4px) !important;
|
||||
|
||||
background-color: unset !important;
|
||||
}
|
||||
.MuiMenu-list--paper {
|
||||
|
@ -216,7 +215,8 @@ reach-portal {
|
|||
}
|
||||
|
||||
.menu__list--notifications-list {
|
||||
overflow: hidden !important;
|
||||
overflow-y: scroll;
|
||||
height: 388px;
|
||||
.menu__list--notification {
|
||||
position: relative;
|
||||
overflow: hidden !important;
|
||||
|
@ -281,6 +281,10 @@ reach-portal {
|
|||
}
|
||||
}
|
||||
|
||||
.comment__badge {
|
||||
display: none;
|
||||
}
|
||||
|
||||
span {
|
||||
margin-right: 0;
|
||||
.credit-amount {
|
||||
|
@ -399,6 +403,10 @@ reach-portal {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
background: rgba(var(--color-header-background-base), 0.8);
|
||||
}
|
||||
}
|
||||
|
||||
.menu__list--notifications-more {
|
||||
|
|
Loading…
Reference in a new issue