Skip to content

Commit

Permalink
Improve visual hidden styles
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Mar 24, 2021
1 parent c38dfed commit ec5e855
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions packages/block-library/src/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,18 +97,18 @@
}

.screen-reader-text:focus {
background-color: $gray-300;
background-color: $white;
clip: auto !important;
clip-path: none;
color: #444;
color: $black;
display: block;
font-size: 1em;
height: auto;
left: 5px;
left: 1em;
line-height: normal;
padding: 15px 23px 14px;
padding: 1em;
text-decoration: none;
top: 5px;
top: 1em;
width: auto;
z-index: 100000;
}
10 changes: 5 additions & 5 deletions packages/components/src/visually-hidden/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@
}

.components-visually-hidden:focus {
background-color: $gray-300;
background-color: $white;
clip: auto !important;
clip-path: none;
color: #444;
color: $black;
display: block;
font-size: 1em;
height: auto;
left: 5px;
left: 1em;
line-height: normal;
padding: 15px 23px 14px;
padding: 1em;
text-decoration: none;
top: 5px;
top: 1em;
width: auto;
z-index: 100000;
}

0 comments on commit ec5e855

Please sign in to comment.