From 27f26bd9bc673c69e074cda4eacd2ef6245dc94f Mon Sep 17 00:00:00 2001 From: Wouter Admiraal Date: Tue, 13 Jun 2023 13:36:50 +0200 Subject: [PATCH] SONAR-19524 Don't render h1 as a child of h2 --- .../src/main/js/apps/overview/branches/ActivityPanel.tsx | 2 +- .../src/main/js/apps/overview/branches/MeasuresPanel.tsx | 6 +++--- .../js/apps/overview/components/QualityGateStatusTitle.tsx | 6 +++--- .../js/apps/overview/pullRequests/PullRequestOverview.tsx | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/overview/branches/ActivityPanel.tsx b/server/sonar-web/src/main/js/apps/overview/branches/ActivityPanel.tsx index 2473714bff1..47ede69bd92 100644 --- a/server/sonar-web/src/main/js/apps/overview/branches/ActivityPanel.tsx +++ b/server/sonar-web/src/main/js/apps/overview/branches/ActivityPanel.tsx @@ -92,7 +92,7 @@ export function ActivityPanel(props: ActivityPanelProps) { return (
- +
-

- -

+
+ +
{loading ? (
diff --git a/server/sonar-web/src/main/js/apps/overview/components/QualityGateStatusTitle.tsx b/server/sonar-web/src/main/js/apps/overview/components/QualityGateStatusTitle.tsx index c5078fe5e4d..9f31a4298ad 100644 --- a/server/sonar-web/src/main/js/apps/overview/components/QualityGateStatusTitle.tsx +++ b/server/sonar-web/src/main/js/apps/overview/components/QualityGateStatusTitle.tsx @@ -26,15 +26,15 @@ import { translate } from '../../../helpers/l10n'; export function QualityGateStatusTitle() { return (
-

- +
+ {translate('overview.quality_gate.help')}
} > -

+
); } diff --git a/server/sonar-web/src/main/js/apps/overview/pullRequests/PullRequestOverview.tsx b/server/sonar-web/src/main/js/apps/overview/pullRequests/PullRequestOverview.tsx index 5a249bbd76a..7bb2f167366 100644 --- a/server/sonar-web/src/main/js/apps/overview/pullRequests/PullRequestOverview.tsx +++ b/server/sonar-web/src/main/js/apps/overview/pullRequests/PullRequestOverview.tsx @@ -231,9 +231,9 @@ export class PullRequestOverview extends React.PureComponent {
-

- -

+
+ +
{[ -- 2.39.5