aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/shared/severity-helper.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/shared/severity-helper.js')
-rw-r--r--server/sonar-web/src/main/js/components/shared/severity-helper.js13
1 files changed, 7 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/components/shared/severity-helper.js b/server/sonar-web/src/main/js/components/shared/severity-helper.js
index 6bbbbec9efa..818d8068e77 100644
--- a/server/sonar-web/src/main/js/components/shared/severity-helper.js
+++ b/server/sonar-web/src/main/js/components/shared/severity-helper.js
@@ -26,11 +26,12 @@ export default React.createClass({
if (!this.props.severity) {
return null;
}
- return <span>
- <span className="spacer-right">
- <SeverityIcon severity={this.props.severity}/>
- </span>
- {translate('severity', this.props.severity)}
- </span>;
+ return (
+ <span>
+ <SeverityIcon severity={this.props.severity}/>
+ {' '}
+ {translate('severity', this.props.severity)}
+ </span>
+ );
}
});