aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-09-04 17:06:23 +0200
committerStas Vilchik <stas.vilchik@sonarsource.com>2017-09-13 13:53:58 +0200
commit784fd2e3641f3abce5d35ba937e88bef05416884 (patch)
tree7c649a9870b23ffd5c13c664ccf6f7cc183f66de /server/sonar-web
parenta1b9bc1ced0bb2dd67e60583254f836cb477ed42 (diff)
downloadsonarqube-784fd2e3641f3abce5d35ba937e88bef05416884.tar.gz
sonarqube-784fd2e3641f3abce5d35ba937e88bef05416884.zip
fix event wrapping on project dashboard
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/apps/overview/events/Event.js4
-rw-r--r--server/sonar-web/src/main/js/apps/overview/events/__tests__/__snapshots__/Event-test.js.snap4
2 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/events/Event.js b/server/sonar-web/src/main/js/apps/overview/events/Event.js
index 7314cc4bb61..becf8b33e56 100644
--- a/server/sonar-web/src/main/js/apps/overview/events/Event.js
+++ b/server/sonar-web/src/main/js/apps/overview/events/Event.js
@@ -31,7 +31,7 @@ export default function Event(props /*: { event: EventType } */) {
}
return (
- <span className="overview-analysis-event">
+ <div className="overview-analysis-event">
<span className="note">{translate('event.category', event.category)}:</span>{' '}
{event.description ? (
<Tooltip overlay={event.description} placement="left" mouseEnterDelay={0.5}>
@@ -40,6 +40,6 @@ export default function Event(props /*: { event: EventType } */) {
) : (
<strong>{event.name}</strong>
)}
- </span>
+ </div>
);
}
diff --git a/server/sonar-web/src/main/js/apps/overview/events/__tests__/__snapshots__/Event-test.js.snap b/server/sonar-web/src/main/js/apps/overview/events/__tests__/__snapshots__/Event-test.js.snap
index 802c927a96c..b14322d6f2a 100644
--- a/server/sonar-web/src/main/js/apps/overview/events/__tests__/__snapshots__/Event-test.js.snap
+++ b/server/sonar-web/src/main/js/apps/overview/events/__tests__/__snapshots__/Event-test.js.snap
@@ -9,7 +9,7 @@ exports[`should render a version correctly 1`] = `
`;
exports[`should render an event correctly 1`] = `
-<span
+<div
className="overview-analysis-event"
>
<span
@@ -22,5 +22,5 @@ exports[`should render an event correctly 1`] = `
<strong>
test
</strong>
-</span>
+</div>
`;