From 0ef6009b5767f1f82183046509bee30faa29c124 Mon Sep 17 00:00:00 2001 From: Lanskikh Date: Fri, 18 Apr 2025 17:02:04 +0500 Subject: [PATCH] clouds completed, z-indices --- src/components/Compass.tsx | 2 +- src/components/FullScreenButton.tsx | 5 +- src/components/Map.tsx | 297 ++++++++++------------------ src/components/SequenceSlider.tsx | 6 +- src/components/WeatherWidget.tsx | 2 +- src/index.css | 17 +- 6 files changed, 112 insertions(+), 217 deletions(-) diff --git a/src/components/Compass.tsx b/src/components/Compass.tsx index 61967e7..3e475d3 100644 --- a/src/components/Compass.tsx +++ b/src/components/Compass.tsx @@ -10,7 +10,7 @@ function Compass({ imgStyle }: CompassProps) { diff --git a/src/components/FullScreenButton.tsx b/src/components/FullScreenButton.tsx index acdf072..5589f9c 100644 --- a/src/components/FullScreenButton.tsx +++ b/src/components/FullScreenButton.tsx @@ -2,6 +2,7 @@ import { Dispatch, SetStateAction, useEffect } from "react"; import FullScreenIcon from "./icons/FullScreenIcon"; import Button from "./ui/Button"; import CloseFullscreenIcon from "./icons/CloseFullscreenIcon"; +import { isMobileSafari } from "react-device-detect"; interface IFullScreenProps { onFullScreenChange: Dispatch>; @@ -26,12 +27,14 @@ function FullScreenButton({ ); }, [onFullScreenChange]); + if (isMobileSafari) return null; + return (