perf: slightly improve framerate of navbar indicator (#781)

this seems to help mobile firefox on android especially
This commit is contained in:
Nolan Lawson 2018-12-11 22:06:56 -08:00 committed by GitHub
parent 42978c3c84
commit e3f7b3e65c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@
.nav-indicator.animate { .nav-indicator.animate {
transition: transform 333ms ease-in-out; transition: transform 333ms ease-in-out;
will-change: transform;
} }
.main-nav-link:hover .nav-indicator { .main-nav-link:hover .nav-indicator {