From d2f0e95677faca7c37808cf897f14901e057e2d4 Mon Sep 17 00:00:00 2001 From: Dmytro Muzyka <47075277+Mich47@users.noreply.github.com> Date: Thu, 4 May 2023 23:05:06 +0300 Subject: [PATCH] fix Loader --- src/components/Loader/{Loader.js => Loader.jsx} | 0 src/components/Loader/Loader.styled.jsx | 2 ++ 2 files changed, 2 insertions(+) rename src/components/Loader/{Loader.js => Loader.jsx} (100%) diff --git a/src/components/Loader/Loader.js b/src/components/Loader/Loader.jsx similarity index 100% rename from src/components/Loader/Loader.js rename to src/components/Loader/Loader.jsx diff --git a/src/components/Loader/Loader.styled.jsx b/src/components/Loader/Loader.styled.jsx index 78e49e1..02c18fb 100644 --- a/src/components/Loader/Loader.styled.jsx +++ b/src/components/Loader/Loader.styled.jsx @@ -5,6 +5,7 @@ export const LoaderWrapper = styled.div` top: 50%; left: 50%; transform: translate(-50%, -50%); + z-index: 10000; `; export const LoaderPrivatePageWrapper = styled.div` @@ -12,6 +13,7 @@ export const LoaderPrivatePageWrapper = styled.div` top: calc((100vh / 2) - 88px); left: 50%; transform: translate(-50%, -50%); + z-index: 10000; @media (min-width: 768px) { top: calc((100vh / 2) - 102px);