diff --git a/src/components/Layout/TopBarNew.jsx b/src/components/Layout/TopBarNew.jsx index 383a471..0486011 100644 --- a/src/components/Layout/TopBarNew.jsx +++ b/src/components/Layout/TopBarNew.jsx @@ -90,13 +90,14 @@ function ActionButton({ icon, label, active, color = "default", badge, onClick, - + {label && {label}} {badge > 0 && ( { const raw = (username || "user").toString(); if (raw.includes("@")) return "user"; - if (raw.length <= 9) return raw; - return raw.slice(0, 9) + ".."; + if (raw.length <= 6) return raw; + return raw.slice(0, 6) + ".."; }, [username]); return ( {/* Right: Actions */} -
+
{/* User chip */} authenticated && onUserIsland?.(username)} /> - {/* PWA Install */} + {/* PWA Install - hide on very small screens */} {showInstallBtn && ( - promptInstall()} - title={t('topbar.installApp')} - /> +
+ promptInstall()} + title={t('topbar.installApp')} + /> +
)} - {/* Theme - mobile */} + {/* Theme - mobile only */}
- {/* Language */} + {/* Language - icon only on mobile */}
)} - {/* Auth */} + {/* Auth - icon only on mobile */} { if (authenticated) { trackEvent("logout_click"); logout(); } diff --git a/src/styles/mapMarkers.css b/src/styles/mapMarkers.css index 0e96243..909b80d 100644 --- a/src/styles/mapMarkers.css +++ b/src/styles/mapMarkers.css @@ -1562,21 +1562,8 @@ body[data-theme="light"] .sw-modal-x{ pointer-events: auto; } -/* Entry animation for markers */ -.sw-appear { - opacity: 0; - animation: markerFadeSlide 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; -} - -.sw-appear-in { - opacity: 1; -} - -/* Stagger effect for multiple markers */ -.sw-appear:nth-child(2) { animation-delay: 0.05s; } -.sw-appear:nth-child(3) { animation-delay: 0.1s; } -.sw-appear:nth-child(4) { animation-delay: 0.15s; } -.sw-appear:nth-child(5) { animation-delay: 0.2s; } +/* Note: .sw-appear and .sw-appear-in are defined earlier in this file + for .post-pin and .post-pin--simple elements. Don't override here. */ /* Cluster marker styles */ .sw-cluster-marker { diff --git a/src/styles/tailwind.css b/src/styles/tailwind.css index 41322ea..ee20b72 100644 --- a/src/styles/tailwind.css +++ b/src/styles/tailwind.css @@ -584,3 +584,32 @@ body[data-theme="light"] .text-high-contrast { .animate-enter-right { animation: enterFromRight 0.4s cubic-bezier(0.16, 1, 0.3, 1); } + +/* ───────────────────────────────────────────────────────────────────────────── + Scrollbar Utilities + ───────────────────────────────────────────────────────────────────────────── */ + +/* Hide scrollbar but keep functionality */ +.scrollbar-hide { + -ms-overflow-style: none; + scrollbar-width: none; +} + +.scrollbar-hide::-webkit-scrollbar { + display: none; +} + +/* Thin scrollbar */ +.scrollbar-thin { + scrollbar-width: thin; +} + +.scrollbar-thin::-webkit-scrollbar { + width: 4px; + height: 4px; +} + +.scrollbar-thin::-webkit-scrollbar-thumb { + background: rgba(96, 165, 250, 0.3); + border-radius: 2px; +}