diff options
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.tsx b/server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.tsx index 3a1381823d3..e84059e8629 100644 --- a/server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.tsx @@ -43,6 +43,8 @@ interface Props { systemStatus: SysStatus; } +const ALERT_HEIGHT = 30; + export class SettingsNav extends React.PureComponent<Props> { static defaultProps = { extensions: [] @@ -249,12 +251,12 @@ export class SettingsNav extends React.PureComponent<Props> { return ( <ContextNavBar - height={notifComponent ? contextNavHeight + 30 : contextNavHeight} + height={notifComponent ? contextNavHeight + ALERT_HEIGHT : contextNavHeight} id="context-navigation" notif={notifComponent}> - <header className="navbar-context-header"> + <div className="navbar-context-header"> <h1>{translate('layout.settings')}</h1> - </header> + </div> <NavBarTabs> {this.renderConfigurationTab()} |