Jelajahi Sumber

fix: center banner vertically in the middle of the screen

neyrogovnarik 1 bulan lalu
induk
melakukan
9c74d589a6
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      frontend/src/components/MapView.tsx

+ 1 - 1
frontend/src/components/MapView.tsx

@@ -120,7 +120,7 @@ export default function MapView() {
       )}
 
       {!user && !isLoading && !mapError && (
-        <div className="absolute left-1/2 top-4 z-10 -translate-x-1/2 rounded-lg bg-white/10 px-6 py-3 text-center text-white backdrop-blur-md">
+        <div className="absolute left-1/2 top-1/2 z-10 -translate-x-1/2 -translate-y-1/2 rounded-lg bg-white/10 px-6 py-3 text-center text-white backdrop-blur-md">
           <p className="text-sm">Зарегистрируйтесь, чтобы исследовать места для фотосъёмок</p>
         </div>
       )}