Skip to content

Commit

Permalink
added left position 0 to visually hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
sophschneider committed Nov 12, 2021
1 parent 815d958 commit e8e1e62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f

### Bug fixes

- Fixed `VisuallyHidden` to be positioned in the top left corner of its parent to avoid horizontal scroll issues ([#4641](https://github.com/Shopify/polaris-react/pull/4641)).

### Documentation

### Development workflow
Expand Down
1 change: 1 addition & 0 deletions src/styles/shared/_accessibility.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// stylelint-disable declaration-no-important
position: absolute !important;
top: 0;
left: 0;
clip: rect(1px, 1px, 1px, 1px) !important;
overflow: hidden !important;
height: 1px !important;
Expand Down

0 comments on commit e8e1e62

Please sign in to comment.