Skip to content

Commit

Permalink
imp: Improve outline of header links (bis)
Browse files Browse the repository at this point in the history
This is a follow-up of c40ca05.
I don't know why I settled for this too specific version first.
  • Loading branch information
marienfressinaud committed Oct 28, 2022
1 parent ef4a9bc commit f0cd2db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/assets/stylesheets/components/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
padding: var(--space-medium) var(--space-large);
}

.header__link:focus {
outline-offset: -0.3rem;
}

.header__action {
margin: var(--space-smaller);
padding: var(--space-small);
Expand Down
4 changes: 0 additions & 4 deletions src/assets/stylesheets/components/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@
border-bottom: 0.5rem solid transparent;
}

.layout--connected .layout__header .header__link:focus {
outline-offset: -0.3rem;
}

@media (min-width: 800px) {
.layout--connected .layout__header .header__link {
width: auto;
Expand Down

0 comments on commit f0cd2db

Please sign in to comment.