Improve performance by reducing compound repaints

This commit is contained in:
squidfunk 2016-10-18 20:53:08 +02:00
parent a18eb4f982
commit 507e98871e

View File

@ -37,6 +37,12 @@
top: 5.6rem;
}
// Omit repaint of whole page by promoting primary sidebar - not the
// secondary sidebar, because then the thick line becomes jittery
&--primary {
backface-visibility: hidden;
}
// [tablet -]: Convert navigation to drawer
@include break-to-device(tablet) {