]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-22383 Fixing extra margin for overall code inside project overview
authorRevanshu Paliwal <revanshu.paliwal@sonarsource.com>
Wed, 19 Jun 2024 12:35:34 +0000 (14:35 +0200)
committersonartech <sonartech@sonarsource.com>
Thu, 20 Jun 2024 20:02:36 +0000 (20:02 +0000)
server/sonar-web/src/main/js/apps/overview/branches/BranchOverviewRenderer.tsx
server/sonar-web/src/main/js/apps/overview/branches/OverallCodeMeasuresPanel.tsx

index 9b1ef6fe77ec086df21a13ac4de5932679d0cb2e..cf0210ff8e78099fde834cb8c5cca1bb0db8dc69 100644 (file)
@@ -135,6 +135,7 @@ export default function BranchOverviewRenderer(props: BranchOverviewRendererProp
     <AnalysisMissingInfoMessage
       qualifier={component.qualifier}
       hide={isPortfolioLike(component.qualifier)}
+      className="sw-mb-8"
     />
   );
 
index ce67b31f40dd741f76f2568b7f6d62a3773deb82..fa5c11cd11185202008269ef1e805c3f9a65ef71 100644 (file)
@@ -77,7 +77,7 @@ export default function OverallCodeMeasuresPanel(props: Readonly<OverallCodeMeas
   return (
     <GridContainer
       id={getTabPanelId(CodeScope.Overall)}
-      className={classNames('sw-grid sw-gap-12 sw-relative sw-overflow-hidden sw-mt-8 js-summary', {
+      className={classNames('sw-grid sw-gap-12 sw-relative sw-overflow-hidden js-summary', {
         'sw-grid-cols-3': noConditionsAndWarningForOverallCode,
         'sw-grid-cols-4': !noConditionsAndWarningForOverallCode,
       })}