aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less/pages
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-12-02 17:06:27 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-12-02 17:06:34 +0100
commitd3d06f465c22b4350890ae679a8093aa099aec10 (patch)
treea5c39f935f4695b707cefd769564c9b712dae524 /server/sonar-web/src/main/less/pages
parentef5bb874bd1baf3d8f9f3226471bf0195d3aae80 (diff)
downloadsonarqube-d3d06f465c22b4350890ae679a8093aa099aec10.tar.gz
sonarqube-d3d06f465c22b4350890ae679a8093aa099aec10.zip
SONAR-7068 improve alignment of measure on the overview page
Diffstat (limited to 'server/sonar-web/src/main/less/pages')
-rw-r--r--server/sonar-web/src/main/less/pages/overview.less13
1 files changed, 10 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/less/pages/overview.less b/server/sonar-web/src/main/less/pages/overview.less
index 1d047e74c4b..61b566b2920 100644
--- a/server/sonar-web/src/main/less/pages/overview.less
+++ b/server/sonar-web/src/main/less/pages/overview.less
@@ -179,8 +179,8 @@
z-index: 2;
display: flex;
flex: 1;
- justify-content: space-around;
align-items: center;
+ padding: 0 10%;
}
.overview-domain-measures + .overview-domain-measures {
@@ -197,18 +197,25 @@
}
.overview-domain-measure {
+ flex: 1;
+}
+
+.overview-domain-measure + .overview-domain-measure {
+ padding-left: 15%;
}
.overview-domain-measure-value {
line-height: 1;
font-size: 36px;
font-weight: 300;
- text-align: center;
+
+ .overview-domain-leak & { text-align: center; }
}
.overview-domain-measure-label {
margin-top: 10px;
- text-align: center;
+
+ .overview-domain-leak & { text-align: center; }
}
.overview-domain-timeline {