summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Davis <michael.s.davis@ibm.com>2017-08-14 15:54:03 -0500
committerAdriana Kobylak <anoo@us.ibm.com>2017-10-09 14:09:46 -0500
commit1f370d50d46503bcccb35b77639dac763a796213 (patch)
tree69bbb6fbcf47281b4adeefa4596007cb89b938fe
parentb8a41c180f66e7d586962b0876fccd7c2fdc353d (diff)
downloadphosphor-webui-1f370d50d46503bcccb35b77639dac763a796213.tar.gz
phosphor-webui-1f370d50d46503bcccb35b77639dac763a796213.zip
fixed sensor columns to stay aligned and not wrap at smaller screen sizes
Change-Id: I44f352f6976627c51700583c05d9ce0696f14541 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
-rw-r--r--app/server-health/styles/sensors.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/server-health/styles/sensors.scss b/app/server-health/styles/sensors.scss
index 6152683..f99a499 100644
--- a/app/server-health/styles/sensors.scss
+++ b/app/server-health/styles/sensors.scss
@@ -92,9 +92,16 @@ $title-minWidth: 210px;
margin: 0;
@include mediaQuery(medium) {
background: $thresh-normal;
+ padding: .7em .3em;
+ margin-left: 10px;
+ min-width: 109px;
+ }
+ @include mediaQuery(large) {
+ background: $thresh-normal;
padding: .7em 1em;
margin-left: 10px;
margin-right: 10px;
+ min-width: 130px;
}
.sensor__label {
font-weight: 700;
OpenPOWER on IntegriCloud