]> source.dussan.org Git - sonarqube.git/commitdiff
Fix overview analysis event style
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>
Mon, 4 Jun 2018 13:02:54 +0000 (15:02 +0200)
committerSonarTech <sonartech@sonarsource.com>
Wed, 6 Jun 2018 18:20:50 +0000 (20:20 +0200)
server/sonar-web/src/main/js/apps/overview/events/Analysis.tsx
server/sonar-web/src/main/js/apps/overview/events/__tests__/__snapshots__/Analysis-test.tsx.snap
server/sonar-web/src/main/js/apps/overview/styles.css

index c873d0c598a92ec39840c4d120b610458d635b3c..915316ce2fcb60a635462f8a8f0ed5b73e4571a6 100644 (file)
@@ -50,7 +50,7 @@ export default function Analysis({ analysis, ...props }: Props) {
       </div>
 
       {sortedEvents.length > 0 ? (
-        <div className="project-activity-events">
+        <div className="overview-activity-events">
           {sortedEvents.map(event => <Event event={event} key={event.key} />)}
         </div>
       ) : (
index 7485d11303c49f0bfb24dbf2621b28847f8d25a3..f61e89ebd8adc832d13c7ca29e58e9cb6338db6a 100644 (file)
@@ -14,7 +14,7 @@ exports[`should sort the events with version first 1`] = `
     </strong>
   </div>
   <div
-    className="project-activity-events"
+    className="overview-activity-events"
   >
     <Event
       event={
index 99b68c862549724e005816efe3d2218dbdc8c48c..7f14ac0420a6eaa2289aea2d0d1cdc98115fe7f0 100644 (file)
   max-width: 120px;
 }
 
+.overview-activity-events {
+  display: flex;
+  flex-direction: column;
+  align-items: flex-start;
+}
+
 .overview-analysis-event {
   display: inline-block;
 }