summaryrefslogtreecommitdiffstats
path: root/app/common/styles/base
diff options
context:
space:
mode:
authorMichael Davis <michael.s.davis@ibm.com>2017-08-18 16:40:03 -0500
committerAdriana Kobylak <anoo@us.ibm.com>2017-10-09 14:22:16 -0500
commit706b75b3131a7a2250db59097bddca97691d7728 (patch)
treeecaca6eea424de868351f724cee0e844a75a354e /app/common/styles/base
parent9dd479d9c3a63f29b24d3209dad83fff28bacb3d (diff)
downloadphosphor-webui-706b75b3131a7a2250db59097bddca97691d7728.tar.gz
phosphor-webui-706b75b3131a7a2250db59097bddca97691d7728.zip
accessibility fixes and minor css changes.
- added aria-hidden = "true" to prevent icons to be read by screen readers - moved code on pages into "page-header" for better consistency Change-Id: I3f497b2707991f7f628892a05734eea183a0d01d Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
Diffstat (limited to 'app/common/styles/base')
-rw-r--r--app/common/styles/base/typography.scss3
-rw-r--r--app/common/styles/base/utility.scss1
2 files changed, 3 insertions, 1 deletions
diff --git a/app/common/styles/base/typography.scss b/app/common/styles/base/typography.scss
index 8dc33c0..db5bdd7 100644
--- a/app/common/styles/base/typography.scss
+++ b/app/common/styles/base/typography.scss
@@ -25,7 +25,8 @@ h6 {
h1, .h1 {
font-size: 3rem;
font-weight: 500;
- padding-top: .5em;
+ padding-top: .5rem;
+ margin-bottom: .6em;
}
h2, .h2 {
diff --git a/app/common/styles/base/utility.scss b/app/common/styles/base/utility.scss
index 1131d82..91c60d5 100644
--- a/app/common/styles/base/utility.scss
+++ b/app/common/styles/base/utility.scss
@@ -95,6 +95,7 @@
width: 0;
position: absolute;
overflow: hidden;
+ display: block;
}
.show-scroll {
OpenPOWER on IntegriCloud