Skip to content

Commit 572d67e

Browse files
committed
fix: explicitly add .sr-only
The package `fontawesome` previously provided this but refactored their code to not require this anymore. As we still use it, this is needed.
1 parent cd89f4a commit 572d67e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/styles.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,3 +511,14 @@ a,
511511
.text-dark-gray {
512512
color: var(--dark-gray, #{$dark-gray})
513513
}
514+
515+
.sr-only {
516+
position: absolute;
517+
width: 1px;
518+
height: 1px;
519+
padding: 0;
520+
margin: -1px;
521+
overflow: hidden;
522+
clip: rect(0, 0, 0, 0);
523+
border: 0;
524+
}

0 commit comments

Comments
 (0)