|
|
|
|
@ -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 { |
|
|
|
|
|