stt
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user