Control number of user menu notifications

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.

3 Likes

It’s also possible with :arrow_down_small:

#quick-access-all-notifications {
  ul {
    // hides all items except the first 10
    li.notification:nth-child(n + 11) {
      display: none;
    }
  }
}
5 Likes