diff options
author | Milo Casagrande <milo.casagrande@linaro.org> | 2015-02-18 10:06:15 +0100 |
---|---|---|
committer | Milo Casagrande <milo.casagrande@linaro.org> | 2015-02-18 10:06:15 +0100 |
commit | db35d626ffd3eced70911861d6a2e9640bceab7f (patch) | |
tree | 7300aaea2c37c9ef74e1acbe7050c70fd80186eb | |
parent | 06239b9d26261800c66d1064f3833b6bb47b5ec5 (diff) |
Fix alignment of pie chart.
* Firefox was showing the pie chart header mis-aligned.
Change-Id: I617b480da2beae5e09dc8c7dc4c804d98cd6684d
-rw-r--r-- | app/dashboard/static/css/linaro-base-1.0.13.css | 3 | ||||
-rw-r--r-- | app/dashboard/templates/boots-job-kernel.html | 2 | ||||
-rw-r--r-- | app/dashboard/templates/builds-job-kernel.html | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/app/dashboard/static/css/linaro-base-1.0.13.css b/app/dashboard/static/css/linaro-base-1.0.13.css index 7a3cc9f..bb88f68 100644 --- a/app/dashboard/static/css/linaro-base-1.0.13.css +++ b/app/dashboard/static/css/linaro-base-1.0.13.css @@ -24,6 +24,9 @@ body { #success-cell, #fail-cell, #unknown-cell { cursor: pointer; } +.pie-chart { + margin: 0 auto; +} .pie-chart td { text-align: center; width: 25px; diff --git a/app/dashboard/templates/boots-job-kernel.html b/app/dashboard/templates/boots-job-kernel.html index 242dbd6..79a5b70 100644 --- a/app/dashboard/templates/boots-job-kernel.html +++ b/app/dashboard/templates/boots-job-kernel.html @@ -43,7 +43,7 @@ </dl> </div> <div class="col-xs-12 col-sm-12 col-md-5 col-lg-5"> - <div id="pie-chart" class="chart-div"> + <div id="pie-chart" class="chart-div pull-center"> <div id="pie-chart-heading"> <table id="pie-chart-legend" class="pie-chart"> <tbody> diff --git a/app/dashboard/templates/builds-job-kernel.html b/app/dashboard/templates/builds-job-kernel.html index 2ceb69a..a3bfa94 100644 --- a/app/dashboard/templates/builds-job-kernel.html +++ b/app/dashboard/templates/builds-job-kernel.html @@ -29,7 +29,7 @@ </dl> </div> <div class="col-xs-12 col-sm-12 col-md-5 col-lg-5"> - <div id="builds-chart" class="chart-div"> + <div id="builds-chart" class="chart-div pull-center"> <div id="builds-chart-heading"> <table id="builds-chart-legend" class="pie-chart"> <tbody> |