Skip to content

Commit

Permalink
added logical-properties to skip-main (#1859)
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeganderson authored Dec 22, 2023
1 parent 0a9b605 commit f1f5195
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions blocks/default-output-block/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,31 @@

// do not delete this as it's used to inject scss
.skip-main {
left: -999px;
inset-inline-start: -999px;
position: absolute;
top: auto;
inset-block-start: auto;
z-index: -999;
transition: none;
width: auto;
height: 56px;
inline-size: auto;
block-size: 56px;
background-color: #fff;
color: #575757;
text-decoration: none;
font-size: 1rem;
margin: 20px 0 19px;
padding: 16px;
margin-block-start: 20px;
margin-inline-end: 0;
margin-block-end: 19px;
margin-inline-start: 0;
padding-block-start: 16px;
padding-inline-end: 16px;
padding-block-end: 16px;
padding-inline-start: 16px;
border-radius: 4px;
border: solid 1px #575757;
font-family: Arial, sans-serif;

&:focus {
left: 10px;
inset-inline-start: 10px;
z-index: 999;
}
}

0 comments on commit f1f5195

Please sign in to comment.