]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20115 Fixing hotspots reviewed text not aligned issue
authorRevanshu Paliwal <revanshu.paliwal@sonarsource.com>
Tue, 15 Aug 2023 08:53:58 +0000 (10:53 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 16 Aug 2023 20:02:43 +0000 (20:02 +0000)
server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCardMeasure.tsx

index acbeb9d2f267e0d3f94cc5d3d58a06a68f7d69f4..2369702158e0d9f05de865905d83720c09368b85 100644 (file)
@@ -36,8 +36,8 @@ export default function ProjectCardMeasure(
       data-key={metricKey}
       className={classNames('it__project_card_measure sw-text-center', className)}
     >
-      <div className="sw-text-center">{children}</div>
-      <div className="sw-body-sm sw-mt-1/2 sw-whitespace-nowrap" title={label}>
+      <div className="sw-flex sw-justify-center">{children}</div>
+      <div className="sw-body-sm sw-mt-1 sw-whitespace-nowrap" title={label}>
         {label}
       </div>
     </div>