menu: fix floating buttons positions

This commit is contained in:
2025-10-09 15:07:26 +03:00
parent 42340cabee
commit 0b0b80d0d5
2 changed files with 7 additions and 11 deletions

View File

@@ -34,9 +34,9 @@ export function FloatingButton() {
className={`${styles.scrollToTopButton}`}
style={{
position: "fixed",
bottom: isMobile ? "100px" : isTablet ? "120px" : "25px",
right: isRTL ? "auto" : isMobile ? "20px" : "32px",
left: isRTL ? (isMobile ? "20px" : "32px") : "auto",
bottom: isMobile ? "100px" : isTablet ? "100px" : "20px",
right: isRTL ? "auto" : "20px",
left: isRTL ? "20px" : "auto",
zIndex: 1000,
boxShadow: "0 4px 12px rgba(0, 0, 0, 0.15)",
backgroundColor: