auto-save 2026-05-15 20:14 (~5)

This commit is contained in:
2026-05-15 20:14:48 +08:00
parent 053cb0b1ce
commit 00a744b184
5 changed files with 30 additions and 38 deletions

View File

@@ -868,22 +868,10 @@
positions for camera state. Visual text/chrome is made transparent so
the parent login UI owns all visible text and controls. */
html, body {
height: 100%;
min-height: 100%;
overflow: hidden;
}
#scroll-container {
position: fixed !important;
inset: 0 !important;
height: 100vh !important;
min-height: 100vh !important;
overflow: hidden !important;
opacity: 0 !important;
visibility: hidden !important;
pointer-events: none !important;
}
#scroll-container,
.nav-float,
.nav-mobile-overlay,
.site-footer {
@@ -2428,15 +2416,7 @@
lookTarget.set(cam.lx, cam.ly, cam.lz);
camera.lookAt(lookTarget);
// Push canvas up when footer is visible (cached element)
if (_siteFooter) {
const footerTop = _siteFooter.getBoundingClientRect().top;
if (footerTop < window.innerHeight) {
renderer.domElement.style.transform = `translateY(-${window.innerHeight - footerTop}px)`;
} else {
renderer.domElement.style.transform = '';
}
}
renderer.domElement.style.transform = '';
// Progress bar
progressBar.style.width = (currentScrollT * 100) + '%';