My notification panel has a scroll bar

You’re missing the point, the number of entries isn’t fixed at 10.

On my laptop screen I see 12, on my monitor I see 13. Neither has a scroll bar.

It’s not a UX issue, and it’s hard to say why you have a scrollbar because you’ve hidden the notifications.