diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-12-03 17:47:18 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-12-03 17:47:18 +0100 |
commit | c08cb2703d9eb1d2e47fd4ab02793bf536035d60 (patch) | |
tree | 8bc23924d738731b22791a1afe5fd8adbaf0b88b | |
parent | 379778f09dab7b0053f01cc83fc149ae992a2022 (diff) | |
download | sonarqube-c08cb2703d9eb1d2e47fd4ab02793bf536035d60.tar.gz sonarqube-c08cb2703d9eb1d2e47fd4ab02793bf536035d60.zip |
improve position of axis labels on bubble charts on the overview page
-rw-r--r-- | server/sonar-web/src/main/js/apps/overview/components/domain-bubble-chart.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/components/domain-bubble-chart.js b/server/sonar-web/src/main/js/apps/overview/components/domain-bubble-chart.js index b1905b695c4..79245a21e91 100644 --- a/server/sonar-web/src/main/js/apps/overview/components/domain-bubble-chart.js +++ b/server/sonar-web/src/main/js/apps/overview/components/domain-bubble-chart.js @@ -116,13 +116,17 @@ export class DomainBubbleChart extends React.Component { <div className="overview-card-header"> <h2 className="overview-title">{window.t('overview.chart.files')}</h2> <ul className="list-inline small"> - <li>X: {this.state.xMetric.name}</li> - <li>Y: {this.state.yMetric.name}</li> <li>Size: {this.getSizeMetricsTitle()}</li> </ul> </div> <div className="overview-bubble-chart"> + <div className="note" style={{ position: 'relative', top: '10px', left: '10px' }}> + Y: {this.state.yMetric.name} + </div> {this.renderBubbleChart()} + <div className="note text-right" style={{ position: 'relative', top: '-10px', left: '-10px' }}> + X: {this.state.xMetric.name} + </div> </div> </div>; } |