From 7caa637ad6f1d7c99888f74278c66aa62737683f Mon Sep 17 00:00:00 2001 From: Nasir Anthony Montalvo Date: Wed, 18 Feb 2026 23:19:37 -0600 Subject: [PATCH] stt --- _sass/_custom.scss | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/_sass/_custom.scss b/_sass/_custom.scss index 64ad9c1..3032af6 100644 --- a/_sass/_custom.scss +++ b/_sass/_custom.scss @@ -1269,6 +1269,28 @@ figure { 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 { position: fixed; bottom: 4.5rem;