diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-08-24 07:55:34 +0200 |
---|---|---|
committer | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-08-25 16:01:06 +0200 |
commit | 0da5bf708722359fb09bfeb368ad0aeda70b49f0 (patch) | |
tree | 47a9406011d64bd3e9a7c7fd1d38fdad2b817ea2 /server/sonar-web/src/main/js/apps/overview/styles.css | |
parent | e4d07ba68d8a1d26e93a28cace2b26de3a45a17c (diff) | |
download | sonarqube-0da5bf708722359fb09bfeb368ad0aeda70b49f0.tar.gz sonarqube-0da5bf708722359fb09bfeb368ad0aeda70b49f0.zip |
Fix bad display of project dashboard page on small screens
Diffstat (limited to 'server/sonar-web/src/main/js/apps/overview/styles.css')
-rw-r--r-- | server/sonar-web/src/main/js/apps/overview/styles.css | 19 |
1 files changed, 6 insertions, 13 deletions
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 7e355d93d36..ef7934e92c3 100644 --- a/server/sonar-web/src/main/js/apps/overview/styles.css +++ b/server/sonar-web/src/main/js/apps/overview/styles.css @@ -190,7 +190,7 @@ display: flex; flex: 1; align-items: center; - padding: 0 10%; + padding: 0; } .overview-domain-measures + .overview-domain-measures { @@ -208,10 +208,7 @@ .overview-domain-measure { flex: 1; -} - -.overview-domain-measure + .overview-domain-measure { - padding-left: 15%; + text-align: center; } .overview-domain-measure-value { @@ -227,20 +224,16 @@ font-weight: 300; } -.overview-domain-leak .overview-domain-measure-value { - text-align: center; -} - .overview-domain-measure-label { margin-top: 10px; } -.overview-domain-measure-label > svg { - margin-top: 3px; +.overview-domain-measure-label.offset-left { + margin-right: -30px; } -.overview-domain-leak .overview-domain-measure-label { - text-align: center; +.overview-domain-measure-label > svg { + margin-top: 3px; } .overview-domain-leak .overview-domain-measure-label > svg { |