Skip to content

Commit

Permalink
Move position:absolute back down
Browse files Browse the repository at this point in the history
  • Loading branch information
frankieroberto committed Jul 9, 2024
1 parent c8a2806 commit 2026849
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/core/tools/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
//

@mixin visually-hidden() {
position: absolute;

// Absolute positioning has the unintended consequence of removing any
// whitespace surrounding visually hidden text from the accessibility tree.
// Insert a space character before and after visually hidden text to separate
Expand All @@ -60,6 +58,7 @@
margin: 0;
overflow: hidden;
padding: 0;
position: absolute;
white-space: nowrap;
width: 1px;
}
Expand Down

0 comments on commit 2026849

Please sign in to comment.