aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-web/src/main/js/apps/overview/branches/ActivityPanel.tsx2
-rw-r--r--server/sonar-web/src/main/js/apps/overview/branches/BranchOverviewRenderer.tsx2
-rw-r--r--server/sonar-web/src/main/js/apps/overview/styles.css30
-rw-r--r--sonar-core/src/main/resources/org/sonar/l10n/core.properties1
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 (
<div className="sw-mt-8">
<PageTitle text={translate('overview.activity')} />
- <Card className="sw-mt-4" data-test="overview__activity-panel">
+ <Card className="overview-panel sw-mt-4" data-test="overview__activity-panel">
<GraphsHeader graph={graph} metrics={metrics} onUpdateGraph={props.onGraphChange} />
<GraphsHistory
analyses={[]}
diff --git a/server/sonar-web/src/main/js/apps/overview/branches/BranchOverviewRenderer.tsx b/server/sonar-web/src/main/js/apps/overview/branches/BranchOverviewRenderer.tsx
index ddcb860be48..06853bf92d6 100644
--- a/server/sonar-web/src/main/js/apps/overview/branches/BranchOverviewRenderer.tsx
+++ b/server/sonar-web/src/main/js/apps/overview/branches/BranchOverviewRenderer.tsx
@@ -87,7 +87,7 @@ export default function BranchOverviewRenderer(props: BranchOverviewRendererProp
/>
<LargeCenteredLayout>
<PageContentFontWrapper>
- <div className="overview sw-mt-6 sw-body-sm">
+ <div className="overview sw-my-6 sw-body-sm">
<A11ySkipTarget anchor="overview_main" />
{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