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:
parent
a18eb4f982
commit
507e98871e
@ -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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user