VoyagerXHF's picture
Upload folder using huggingface_hub (part 31)
635218a verified
Raw History Blame Contribute Delete
1.92 kB
/* mock-website overrides */
/* Hide cookie consent dialogs since they can't reach their backends offline */
#CybotCookiebotDialog,
#CybotCookiebotDialogBodyUnderlay,
.CybotEdge,
.CookieDeclaration,
.cookienotice {
display: none !important;
visibility: hidden !important;
opacity: 0 !important;
pointer-events: none !important;
}
/* Ensure body is interactive even if cookiebot tried to block it */
html, body { pointer-events: auto !important; overflow-x: hidden; }
/* Fix mobile hero action buttons (Become a member / Plan your visit) hanging
off the right edge and being clipped by overflow-x:hidden on small screens. */
@media (max-width: 600px) {
.component-content .abovethefold-actions { margin-right: 0 !important; }
.abovethefold-actions a { max-width: 100%; box-sizing: border-box; }
}
/* --- Ground-truth capture fix (2026-08-05) ---
The design-museum prototype uses a JS-driven fixed-viewport "slide deck":
html,body{height:100%;overflow:hidden} with the real content nested in an
absolutely-positioned `.viewport` > `.scroll-wrapper` > `.page` that is taller
than one screen. As a static clone (no scroll JS) the document never grows past
one viewport, so every full-page screenshot was truncated to a single screen
(desktop 1920x1080, mobile 1125x2436) — the whole station was rejected on manual
QC. Neutralise the fixed-viewport chain so the document flows to its natural
height and the GT capture reflects the full page. Visual layout is unchanged;
only the scroll/overflow containment is relaxed. */
html, body {
height: auto !important;
min-height: 100% !important;
overflow: visible !important;
position: static !important;
}
.viewport,
.viewport .scroll-wrapper,
.viewport .scroll-wrapper .page {
position: static !important;
height: auto !important;
min-height: 0 !important;
overflow: visible !important;
transform: none !important;
}