This commit is contained in:
Nasir Anthony Montalvo
2026-02-18 23:19:37 -06:00
parent d426eca041
commit 7caa637ad6

View File

@@ -1269,6 +1269,28 @@ figure {
SCROLL TO TOP - FULL STYLING (all viewports) SCROLL TO TOP - FULL STYLING (all viewports)
============================================================================ */ ============================================================================ */
@media (max-width: 768px) {
body {
overflow-x: hidden;
max-width: 100vw;
min-width: 0;
}
/* Ensure scroll-to-top button stays visible on mobile */
#scroll-to-top {
display: none !important;
position: fixed !important;
bottom: 4.5rem !important;
right: 1rem !important;
z-index: 9999 !important;
}
/* When JS sets display: block, override to actually show it */
#scroll-to-top[style*="display: block"] {
display: block !important;
}
}
#scroll-to-top { #scroll-to-top {
position: fixed; position: fixed;
bottom: 4.5rem; bottom: 4.5rem;