mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Improve performance by reducing compound repaints
This commit is contained in:
@@ -37,6 +37,12 @@
|
|||||||
top: 5.6rem;
|
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
|
// [tablet -]: Convert navigation to drawer
|
||||||
@include break-to-device(tablet) {
|
@include break-to-device(tablet) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user