diff --git a/CHANGELOG.md b/CHANGELOG.md index f86fd5d6..47029d2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ * #1679 Add breakpoint based column gaps * #1905 Fix `modal` for IE11 #1902 * #1919 New `is-arrowless` class for navbar items +* #1764 New `.is-sr-only` helper ### Improvements @@ -487,7 +488,6 @@ ### New features * 🎉 Rounded buttons, inputs, pagination and toggle tabs -* #1764 New `.is-sr-only` helper ### Improvements diff --git a/sass/base/helpers.sass b/sass/base/helpers.sass index 87774bb4..bbf5e846 100644 --- a/sass/base/helpers.sass +++ b/sass/base/helpers.sass @@ -159,15 +159,15 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex' display: none !important .is-sr-only - position: absolute !important - width: 1px !important - height: 1px !important - padding: 0 !important - border: 0 !important - overflow: hidden !important - clip: rect(0, 0, 0, 0) !important - clip-path: inset(50%) !important - white-space: nowrap !important + border: none !important + clip-path: inset(50%) !important + clip: rect(0, 0, 0, 0) !important + height: 0.01em !important + overflow: hidden !important + padding: 0 !important + position: absolute !important + white-space: nowrap !important + width: 0.01em !important +mobile .is-hidden-mobile