aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-12-04 16:14:05 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-12-04 16:14:05 +0100
commit45728121b79935c9f30132c8bdd87d09e9c5c3a0 (patch)
treef6f830ef62c16701f329b26af281eaabe2074290 /server
parent9df8ed37f34ceb5d26045bf2d75a56b2fe80e172 (diff)
downloadsonarqube-45728121b79935c9f30132c8bdd87d09e9c5c3a0.tar.gz
sonarqube-45728121b79935c9f30132c8bdd87d09e9c5c3a0.zip
SONAR-6946 apply feedback
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/apps/overview/components/domain-treemap.js5
-rw-r--r--server/sonar-web/src/main/less/components/graphics.less1
2 files changed, 5 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/components/domain-treemap.js b/server/sonar-web/src/main/js/apps/overview/components/domain-treemap.js
index 29d08065f0b..1152ee83cc4 100644
--- a/server/sonar-web/src/main/js/apps/overview/components/domain-treemap.js
+++ b/server/sonar-web/src/main/js/apps/overview/components/domain-treemap.js
@@ -34,7 +34,10 @@ export class DomainTreemap extends React.Component {
(component.msr || []).forEach(measure => {
measures[measure.key] = measure.val;
});
- return _.extend(component, { measures });
+ return _.extend(component, {
+ measures,
+ key: component.copy ? `${component.copy}` : component.key
+ });
});
this.setState({ loading: false, components });
});
diff --git a/server/sonar-web/src/main/less/components/graphics.less b/server/sonar-web/src/main/less/components/graphics.less
index 690ecd7bfa4..56f71a07e7e 100644
--- a/server/sonar-web/src/main/less/components/graphics.less
+++ b/server/sonar-web/src/main/less/components/graphics.less
@@ -221,6 +221,7 @@ text.max-results-reached-message {
margin-top: 10px;
padding-top: 7px;
border-top: 1px solid #E6E6E6;
+ line-height: 1.3;
}
.sonar-d3 .treemap-breadcrumbs-item {