diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/_utils.scss | 12 | ||||
-rw-r--r-- | src/scopes/_body.scss | 5 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/_utils.scss b/src/_utils.scss index 4fb122a..bd92454 100644 --- a/src/_utils.scss +++ b/src/_utils.scss | |||
@@ -305,4 +305,16 @@ $-sizes: ( | |||
305 | content: ''; | 305 | content: ''; |
306 | } | 306 | } |
307 | } | 307 | } |
308 | |||
309 | @include bem.utility('sr-only') { | ||
310 | position: absolute; | ||
311 | width: 1px; | ||
312 | height: 1px; | ||
313 | padding: 0; | ||
314 | margin: -1px; | ||
315 | overflow: hidden; | ||
316 | clip-path: inset(50%); | ||
317 | white-space: nowrap; | ||
318 | border: 0; | ||
319 | } | ||
308 | } | 320 | } |
diff --git a/src/scopes/_body.scss b/src/scopes/_body.scss index c5f7128..65c6d2f 100644 --- a/src/scopes/_body.scss +++ b/src/scopes/_body.scss | |||
@@ -23,6 +23,11 @@ | |||
23 | margin-block-start: props.get(vars.$paragraph--margin-bs); | 23 | margin-block-start: props.get(vars.$paragraph--margin-bs); |
24 | } | 24 | } |
25 | 25 | ||
26 | ul, | ||
27 | ol { | ||
28 | box-sizing: border-box; | ||
29 | } | ||
30 | |||
26 | img { | 31 | img { |
27 | display: block; | 32 | display: block; |
28 | inline-size: auto; | 33 | inline-size: auto; |