From: David Cho-Lerat Date: Wed, 26 Jul 2023 10:17:26 +0000 (+0200) Subject: SONAR-19157 Fix "after merge" text appearence X-Git-Tag: 10.2.0.77647~292 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5484a43ba57da01aa4c080eb9b388a6cd0b359cd;p=sonarqube.git SONAR-19157 Fix "after merge" text appearence --- diff --git a/server/sonar-web/src/main/js/apps/overview/branches/MeasuresPanelPercentMeasure.tsx b/server/sonar-web/src/main/js/apps/overview/branches/MeasuresPanelPercentMeasure.tsx index cf7c7a1e2f1..5cf3f1055a5 100644 --- a/server/sonar-web/src/main/js/apps/overview/branches/MeasuresPanelPercentMeasure.tsx +++ b/server/sonar-web/src/main/js/apps/overview/branches/MeasuresPanelPercentMeasure.tsx @@ -126,15 +126,13 @@ export default function MeasuresPanelPercentMeasure(props: Props) { )} {isPullRequest(branchLike) && ( - <> - -
- - - {translate('component_measures.facet_category.overall_category.estimated')} - -
- +
+ + + + {translate('component_measures.facet_category.overall_category.estimated')} + +
)} diff --git a/server/sonar-web/src/main/js/apps/overview/pullRequests/AfterMergeEstimate.tsx b/server/sonar-web/src/main/js/apps/overview/pullRequests/AfterMergeEstimate.tsx index fa91067a93d..d50b13b4630 100644 --- a/server/sonar-web/src/main/js/apps/overview/pullRequests/AfterMergeEstimate.tsx +++ b/server/sonar-web/src/main/js/apps/overview/pullRequests/AfterMergeEstimate.tsx @@ -42,7 +42,7 @@ export function AfterMergeEstimate({ className, measures, type }: AfterMergeEsti return (
- + {formatMeasure(measure.value, MetricType.Percent)}