From e3f7b3e65c1d56775125cecda72956d2064b58ab Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Tue, 11 Dec 2018 22:06:56 -0800 Subject: [PATCH] perf: slightly improve framerate of navbar indicator (#781) this seems to help mobile firefox on android especially --- src/routes/_components/NavItem.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/_components/NavItem.html b/src/routes/_components/NavItem.html index 1f5b36f..6874038 100644 --- a/src/routes/_components/NavItem.html +++ b/src/routes/_components/NavItem.html @@ -96,6 +96,7 @@ .nav-indicator.animate { transition: transform 333ms ease-in-out; + will-change: transform; } .main-nav-link:hover .nav-indicator {