diff options
author | Michael Davis <michael.s.davis@ibm.com> | 2017-08-18 16:40:03 -0500 |
---|---|---|
committer | Adriana Kobylak <anoo@us.ibm.com> | 2017-10-09 14:22:16 -0500 |
commit | 706b75b3131a7a2250db59097bddca97691d7728 (patch) | |
tree | ecaca6eea424de868351f724cee0e844a75a354e /app/common/styles/base | |
parent | 9dd479d9c3a63f29b24d3209dad83fff28bacb3d (diff) | |
download | phosphor-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.scss | 3 | ||||
-rw-r--r-- | app/common/styles/base/utility.scss | 1 |
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 { |