fix: menu on android

This commit is contained in:
2026-06-27 19:38:05 +07:00
parent 796487ef76
commit 3bc7c8a160
5 changed files with 128 additions and 137 deletions
@@ -82,6 +82,11 @@ export const MapProfileDropdown: React.FC<MapProfileDropdownProps> = ({
<div
className="fixed bottom-0 left-0 right-0 sm:absolute sm:bottom-auto sm:top-14 sm:right-0 sm:left-auto z-[999999] w-full sm:w-64 bg-slate-900 border-t sm:border border-slate-800 rounded-t-3xl sm:rounded-2xl p-3 sm:p-2 shadow-2xl animate-in slide-in-from-bottom sm:slide-in-from-top-2 duration-300 text-xs text-slate-200"
style={{
maxHeight: '80vh',
overflowY: 'auto',
boxShadow: '0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4)'
}}
>
<div className="w-12 h-1 bg-slate-700 rounded-full mx-auto mb-3 sm:hidden" />