Radzen centered notification

Hello,
what is the best way to center the notification component to center?
I tried the following in the style property of the notificationmessage:
Style = "position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);",
It is working but only when I collapsed the sidebar.
When the sidebar is open it is not centered right.
What I am missing in my style?

Kind regards
Felix

The styles that you use should work. position: fixed means that the element is positioned relative to the browser window. It should not take into account the sidebar unless there is any other position rule interfering. You can inspect the element with your browser devtools to see if there are any positioning rules overriding the one that is applied via Style.