From 706b75b3131a7a2250db59097bddca97691d7728 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Fri, 18 Aug 2017 16:40:03 -0500 Subject: 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 --- app/common/styles/base/typography.scss | 3 ++- app/common/styles/base/utility.scss | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'app/common/styles/base') 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 { -- cgit v1.2.1