Skip to content

Commit

Permalink
Merge pull request #52 from LesiaUKR/outline-fix
Browse files Browse the repository at this point in the history
fix:removed outline after clin on logo and footer links
  • Loading branch information
LesiaUKR authored Aug 29, 2024
2 parents 8282e77 + 9e0f325 commit ae4237a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
href="./index.html"
title="Wonka's World of Candy Match 3"
aria-label="site logo"
rel=""
>
<div class="nav-logo-thumb">
<picture>
Expand Down
2 changes: 1 addition & 1 deletion src/scss/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
outline: 1px solid $_yellow_color;
outline-offset: 1px;
}
&:focus:active {
&:focus:not(:focus-visible) {
outline: none;
}

Expand Down
3 changes: 3 additions & 0 deletions src/scss/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ header .container {
&:focus &-text {
letter-spacing: 0.8px;
}
&:focus:not(:focus-visible) {
outline: none;
}
}

.nav-logo-thumb {
Expand Down

0 comments on commit ae4237a

Please sign in to comment.