mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-05-23 13:34:23 +08:00
Update Docs with iframe navigation (#6440)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
17edc5cf1b
commit
efd6f35192
@ -59,3 +59,11 @@ if (autoThemeInput) {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Add iframe navigation
|
||||
window.onhashchange = function() {
|
||||
window.parent.postMessage({
|
||||
type: 'navigation',
|
||||
hash: window.location.pathname + window.location.search + window.location.hash
|
||||
}, '*');
|
||||
};
|
||||
|
@ -43,3 +43,8 @@ div.highlight {
|
||||
.md-grid {
|
||||
max-width: 1440px;
|
||||
}
|
||||
|
||||
/* Language dropdown selector (default is shorter 200px in length) */
|
||||
body .md-select__inner {
|
||||
max-height: 500px !important;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user