mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed unreachable toc title on screen after scrolling
This commit is contained in:
parent
694eaca889
commit
29021a55dc
@ -471,8 +471,9 @@
|
||||
// property must be calculated before transitioning
|
||||
transition: max-height 0.25s cubic-bezier(0.86, 0, 0.07, 1);
|
||||
|
||||
// Snap to title
|
||||
.md-nav__title--site {
|
||||
// Snap to site and table of contents title
|
||||
.md-nav__title[for="__drawer"],
|
||||
.md-nav__title[for="__toc"] {
|
||||
scroll-snap-align: start;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user