Skip to content

Commit

Permalink
fix #3 - prevent nav item transition jiggle
Browse files Browse the repository at this point in the history
  • Loading branch information
fennifith committed Mar 11, 2021
1 parent 845093c commit 34b6faa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scss/elements/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ $nav-height: 64px !default;

.nav-item-img {
transform: translateY(9px);
backface-visibility: hidden;

transition: transform .25s;
}
Expand All @@ -62,6 +63,7 @@ $nav-height: 64px !default;
visibility: hidden;

transform: translateY(9px);
backface-visibility: hidden;

transition: transform .25s, opacity .25s;
}
Expand Down

0 comments on commit 34b6faa

Please sign in to comment.