Corrige la longueur des pages chrono et cube
This commit is contained in:
2
app.js
2
app.js
@@ -103,6 +103,8 @@ function syncViewportHeight() {
|
||||
document.documentElement.clientHeight,
|
||||
);
|
||||
|
||||
document.documentElement.style.setProperty("--app-visible-height", `${Math.round(visibleHeight)}px`);
|
||||
document.documentElement.style.setProperty("--app-viewport-top", `${Math.round(viewportTopOffset)}px`);
|
||||
document.documentElement.style.setProperty("--app-viewport-height", `${Math.round(viewportHeight)}px`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user