Skip to content

Commit

Permalink
fix: overwrite clip rule on focus of visually-hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
catheraaine committed Dec 10, 2020
1 parent 1e9ae0b commit 1a86a91
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/visually-hidden/_mixin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,7 @@
right: auto;
top: 0;
bottom: auto;
clip: auto;
clip-path: none;
}
}
2 changes: 2 additions & 0 deletions tools/visually-hidden/_test.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ $sparkle-show-docs: false;
right: auto;
top: 0;
bottom: auto;
clip: auto;
clip-path: none;
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions utilities/visually-hidden/_test.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ $media-queries: (
right: auto;
top: 0;
bottom: auto;
clip: auto;
clip-path: none;
}
}

Expand All @@ -49,6 +51,8 @@ $media-queries: (
right: auto;
top: 0;
bottom: auto;
clip: auto;
clip-path: none;
}
}
}
Expand Down

0 comments on commit 1a86a91

Please sign in to comment.