Moved popup size to globol.css (body) to fix resize flash issue

This commit is contained in:
z0ccc 2022-11-14 23:52:17 -05:00
parent 3a55fd7402
commit e7334d8a7c
3 changed files with 4 additions and 7 deletions

View file

@ -4,7 +4,6 @@ import DebouncedInput from '../../Components/DebouncedInput'
import userAgents from '../../../utils/userAgents'
import detachDebugger from '../../../utils/detachDebugger'
import Page from '../../Components/Page'
import FooterLink from '../../Components/FooterLink'
interface UserAgentPageProps {
tab: string

View file

@ -13,14 +13,10 @@ const Popup = () => {
return (
<ThemeProvider theme={theme}>
<Flex
sx={{
width: '350px',
height: '440px',
}}
>
<Flex>
<Flex
sx={{
height: '100vh',
minWidth: '36px',
backgroundColor: 'primary',
alignItems: 'center',

View file

@ -7,6 +7,8 @@
body {
font-family: 'Nunito', Arial, Helvetica, sans-serif;
font-weight: 500;
width: 350px;
height: 440px;
}
input {