From 4724f8871718173709089ddbb91180892cb12777 Mon Sep 17 00:00:00 2001 From: stanislavh Date: Thu, 12 Oct 2023 16:13:35 +0200 Subject: [PATCH] SONAR-20366 Fix spacing between content and title in QP details --- .../js/apps/quality-profiles/changelog/ChangelogContainer.tsx | 2 +- .../main/js/apps/quality-profiles/details/ProfileDetails.tsx | 2 +- .../sonar-web/src/main/js/components/ui/AdminPageHeader.tsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/changelog/ChangelogContainer.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/changelog/ChangelogContainer.tsx index b78462000cc..8abc267c5e4 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/changelog/ChangelogContainer.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/changelog/ChangelogContainer.tsx @@ -137,7 +137,7 @@ class ChangelogContainer extends React.PureComponent { this.state.events.length < this.state.total; return ( -
+
-
+
{profile.activeRuleCount === 0 && (profile.projectCount || profile.isDefault) && ( diff --git a/server/sonar-web/src/main/js/components/ui/AdminPageHeader.tsx b/server/sonar-web/src/main/js/components/ui/AdminPageHeader.tsx index 222f14dc6b2..18680cb9f73 100644 --- a/server/sonar-web/src/main/js/components/ui/AdminPageHeader.tsx +++ b/server/sonar-web/src/main/js/components/ui/AdminPageHeader.tsx @@ -34,9 +34,9 @@ export function AdminPageHeader({ children, className, description, title }: Rea return (
- {title} + {title} {description && ( - + {description} )} -- 2.39.5