From 5c15de20eeca1c4c8ec8558a5dacb088c374e775 Mon Sep 17 00:00:00 2001 From: Andrei Dekterev Date: Wed, 7 Sep 2022 16:55:34 +0400 Subject: [PATCH] fix(#2767): fix popup for live match --- src/components/SmartBanner/index.tsx | 6 +++--- src/components/SmartBanner/styled.tsx | 1 + src/features/HomePage/hooks.tsx | 2 -- .../Controls/Components/ControlsMobile/styled.tsx | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/components/SmartBanner/index.tsx b/src/components/SmartBanner/index.tsx index e9341051..7a03ade1 100644 --- a/src/components/SmartBanner/index.tsx +++ b/src/components/SmartBanner/index.tsx @@ -33,9 +33,9 @@ export const SmartBanner = ({ setIsOpenDownload }: SmartBannerProps) => ( - official InStat TV app - InStat TV limited - InStat – the Home of Sports Streaming + Official inSports App + inSports limited + inSports – the Home of Sports Streaming { })() // eslint-disable-next-line react-hooks/exhaustive-deps }, []) - useEffect(() => { const dateLastOpenSmartBanner = localStorage.getItem('dateLastOpenSmartBanner') - if (!dateLastOpenSmartBanner || Date.parse(JSON.parse(dateLastOpenSmartBanner)) < Date.parse(new Date().toISOString()) ) { diff --git a/src/features/StreamPlayer/components/Controls/Components/ControlsMobile/styled.tsx b/src/features/StreamPlayer/components/Controls/Components/ControlsMobile/styled.tsx index d61b5757..97b3da1e 100644 --- a/src/features/StreamPlayer/components/Controls/Components/ControlsMobile/styled.tsx +++ b/src/features/StreamPlayer/components/Controls/Components/ControlsMobile/styled.tsx @@ -7,7 +7,7 @@ type FullscreenProps = { } export const Controls = styled.div` - z-index: 50; + z-index: 14; position: absolute; width: 100%; bottom: 22px;