From 5d5e5c30903112b77cbdad466abbe0c1521e4e6e Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Tue, 25 Apr 2023 17:14:50 +0200 Subject: [PATCH] SONAR-19018 Minor fixes --- .../apps/overview/branches/ActivityPanel.tsx | 2 +- .../branches/BranchOverviewRenderer.tsx | 2 +- .../src/main/js/apps/overview/styles.css | 30 +------------------ .../resources/org/sonar/l10n/core.properties | 1 + 4 files changed, 4 insertions(+), 31 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 f7e410092ba..2473714bff1 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 @@ -93,7 +93,7 @@ export function ActivityPanel(props: ActivityPanelProps) { return (
- + -
+
{projectIsEmpty ? ( diff --git a/server/sonar-web/src/main/js/apps/overview/styles.css b/server/sonar-web/src/main/js/apps/overview/styles.css index eb2a2a9a02e..5c2e5194326 100644 --- a/server/sonar-web/src/main/js/apps/overview/styles.css +++ b/server/sonar-web/src/main/js/apps/overview/styles.css @@ -22,34 +22,6 @@ animation: fadeIn 0.5s forwards; } -.overview-panel { - min-height: 100%; -} - -.overview-panel-content { - background: white; - border: 1px solid var(--barBorderColor); -} - -.overview-panel-title { - text-transform: uppercase; - font-weight: 600; - font-size: var(--smallFontSize); - margin-bottom: var(--gridSize); -} - -.overview-panel-padded { - padding: calc(2 * var(--gridSize)); -} - -.overview-panel-big-padded { - padding: calc(3 * var(--gridSize)); -} - -.overview-panel-huge-padded { - padding: calc(5 * var(--gridSize)); -} - /* * Measures */ @@ -206,6 +178,6 @@ } .activity-graph-container { - min-height: 200px; + height: 300px; padding-bottom: 0; } diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties index 148bc7a18f5..aae9c18cab7 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -1638,6 +1638,7 @@ project_activity.events.tooltip.delete=Delete this event project_activity.new_code_period_start=New Code Period starts here project_activity.new_code_period_start.help=The analysis before this mark is the baseline for New Code comparison +project_activity.graphs.choose_type=Choose graph type project_activity.graphs.explanation_x=This interactive graph shows data for the following project measures over time: {0} project_activity.graphs.issues=Issues project_activity.graphs.coverage=Coverage -- 2.39.5