summaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/nav/NavBarNotif.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/nav/NavBarNotif.tsx')
-rw-r--r--server/sonar-web/src/main/js/components/nav/NavBarNotif.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/nav/NavBarNotif.tsx b/server/sonar-web/src/main/js/components/nav/NavBarNotif.tsx
index 63f5695de00..835b51831e1 100644
--- a/server/sonar-web/src/main/js/components/nav/NavBarNotif.tsx
+++ b/server/sonar-web/src/main/js/components/nav/NavBarNotif.tsx
@@ -34,7 +34,10 @@ export default function NavBarNotif(props: Props) {
return (
<div className={classNames('navbar-notif', props.className)}>
<div className="navbar-limited clearfix">
- <div className={classNames({ 'navbar-notif-cancelable': !!props.onCancel })}>
+ <div
+ className={classNames('display-flex-center', {
+ 'navbar-notif-cancelable': !!props.onCancel
+ })}>
{props.children}
{props.onCancel && <DeleteButton className="button-small" onClick={props.onCancel} />}
</div>