mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
docs: scroll to center of the view port (#4515)
This commit is contained in:
parent
969ee96106
commit
3846417df7
@ -17,7 +17,7 @@ window.addEventListener("load", function () {
|
||||
element = document.querySelector(selector(href));
|
||||
}
|
||||
if (element) {
|
||||
element.scrollIntoView({ behavior: "smooth" });
|
||||
element.scrollIntoView({ behavior: "smooth", block: "center", inline: "nearest" });
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user