How can I set the maximum notification to 10 instead of 20?
Example:
What do you mean by “maximum notifications”? I don’t think there is a maximum you can configure. The list of notifications shows all notifications you received https://meta.discourse.org/my/notifications. The notification menu shows the latest notifications, I think the number depends on the height of the screen.
if you are admin, you can do this by adjusting height of menu via css
otherwise there is no user setting in preferences.
edit: Don’s answer below is better because it’s based on the number of notificaitons, not size of the menu.
It’s also possible with
#quick-access-all-notifications {
ul {
// hides all items except the first 10
li.notification:nth-child(n + 11) {
display: none;
}
}
}