From 83880792cc9d08d7922099a58e024281a5a55ae2 Mon Sep 17 00:00:00 2001 From: Margarita Date: Mon, 29 May 2023 21:19:54 +0400 Subject: [PATCH] feat(in-640): header bug fix --- src/features/GlobalStyles/index.tsx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/features/GlobalStyles/index.tsx b/src/features/GlobalStyles/index.tsx index 33028585..528352bb 100644 --- a/src/features/GlobalStyles/index.tsx +++ b/src/features/GlobalStyles/index.tsx @@ -1,6 +1,4 @@ -import { createGlobalStyle, css } from 'styled-components/macro' - -import { isMobileDevice } from 'config/userAgent' +import { createGlobalStyle } from 'styled-components/macro' export const GlobalStyles = createGlobalStyle` *, *:before, *:after { @@ -9,13 +7,7 @@ export const GlobalStyles = createGlobalStyle` html { font-size: calc(2px + 1vw); - overflow-y: hidden; - - ${isMobileDevice - ? css` - overflow-y: auto; - ` - : ''}; + overflow-y: auto; } body { -- 2.30.2