mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
fix(docs) consider an example to be visible over a wider area
This commit is contained in:
parent
b5f632ee7a
commit
145a0fad08
2
docs/_templates/page.html
vendored
2
docs/_templates/page.html
vendored
@ -70,7 +70,7 @@ document.addEventListener('DOMContentLoaded', (event) => {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
const config = {
|
const config = {
|
||||||
rootMargin: '50px 0px',
|
rootMargin: '600px 0px',
|
||||||
threshold: 0.01
|
threshold: 0.01
|
||||||
};
|
};
|
||||||
let observer = new IntersectionObserver(onIntersection, config);
|
let observer = new IntersectionObserver(onIntersection, config);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user