diff options
| author | Martijn Cuppens <[email protected]> | 2019-05-20 10:03:51 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-05-20 10:03:51 +0200 |
| commit | a4a04cd9ec741050390746f8056cc79a9c04c8df (patch) | |
| tree | 7013b5407237066b483a87e54f0bc0169656ded7 /scss/utilities | |
| parent | 1a41b0ffa615948e3197b389cb0fb0be9227a8d9 (diff) | |
| download | bootstrap-a4a04cd9ec741050390746f8056cc79a9c04c8df.tar.xz bootstrap-a4a04cd9ec741050390746f8056cc79a9c04c8df.zip | |
`.sr-only` & `.sr-only-focusable` tweaks (#28720)
* Prevent .sr-only-focusable overriding properties when being focused
* Typo
Diffstat (limited to 'scss/utilities')
| -rw-r--r-- | scss/utilities/_screenreaders.scss | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/scss/utilities/_screenreaders.scss b/scss/utilities/_screenreaders.scss index 9f26fde03..c8034d10e 100644 --- a/scss/utilities/_screenreaders.scss +++ b/scss/utilities/_screenreaders.scss @@ -2,10 +2,7 @@ // Screenreaders // -.sr-only { +.sr-only, +.sr-only-focusable:not(:focus) { @include sr-only(); } - -.sr-only-focusable { - @include sr-only-focusable(); -} |
