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 userAgents from '../../../utils/userAgents'
import detachDebugger from '../../../utils/detachDebugger' import detachDebugger from '../../../utils/detachDebugger'
import Page from '../../Components/Page' import Page from '../../Components/Page'
import FooterLink from '../../Components/FooterLink'
interface UserAgentPageProps { interface UserAgentPageProps {
tab: string tab: string

View file

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

View file

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