perf: slightly improve framerate of navbar indicator (#781)
this seems to help mobile firefox on android especially
This commit is contained in:
		
							parent
							
								
									42978c3c84
								
							
						
					
					
						commit
						e3f7b3e65c
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -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 { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue