fixed footerlink issues

This commit is contained in:
z0ccc 2022-10-28 17:12:45 -04:00
parent 2cf337a2c7
commit a276047de5
6 changed files with 5 additions and 9 deletions

View file

@ -1,4 +1,3 @@
import { Text } from 'theme-ui'
import { ipData } from '../../../types' import { ipData } from '../../../types'
import FooterLink from '../../Components/FooterLink' import FooterLink from '../../Components/FooterLink'
import Page from '../../Components/Page' import Page from '../../Components/Page'

View file

@ -1,4 +1,3 @@
import { Text } from 'theme-ui'
import { useState, useEffect, ChangeEvent } from 'react' import { useState, useEffect, ChangeEvent } from 'react'
import { Flex, Label, Radio, Select } from 'theme-ui' import { Flex, Label, Radio, Select } from 'theme-ui'
import Page from '../../Components/Page' import Page from '../../Components/Page'
@ -226,7 +225,7 @@ const SystemPage = ({ tab, ipData, geolocation }: SystemPageProps) => {
{systemType !== 'default' && ( {systemType !== 'default' && (
<CheckBox title={'Enable Debugger API Spoofing'} /> <CheckBox title={'Enable Debugger API Spoofing'} />
)} )}
<FooterLink link="test" text="Scan for" hoverText="system data leaks" /> <FooterLink link="test" text="Test with" hoverText="system data scan" />
</Page> </Page>
) )
} }

View file

@ -1,4 +1,3 @@
import { Text } from 'theme-ui'
import { useState, useEffect, ChangeEvent } from 'react' import { useState, useEffect, ChangeEvent } from 'react'
import { Box, Label, Radio, Flex, Select } from 'theme-ui' import { Box, Label, Radio, Flex, Select } from 'theme-ui'
import DebouncedInput from '../../Components/DebouncedInput' import DebouncedInput from '../../Components/DebouncedInput'

View file

@ -1,4 +1,3 @@
import { Text } from 'theme-ui'
import { useState, useEffect, ChangeEvent } from 'react' import { useState, useEffect, ChangeEvent } from 'react'
import Page from '../../Components/Page' import Page from '../../Components/Page'
import handleWebRtcPolicy from './handleWebRtcPolicy' import handleWebRtcPolicy from './handleWebRtcPolicy'

View file

@ -58,7 +58,7 @@ const Popup = () => {
<Flex <Flex
sx={{ sx={{
width: '350px', width: '350px',
height: '436px', height: '455px',
}} }}
> >
<Flex <Flex

View file

@ -25,7 +25,7 @@ export const theme: Theme = {
label: { width: 'auto', alignItems: 'center' }, label: { width: 'auto', alignItems: 'center' },
input: { input: {
// border: '2px solid', // border: '2px solid',
p: '2px 8px', p: '4px 8px',
mb: '8px', mb: '8px',
borderColor: 'grey', borderColor: 'grey',
'&:focus': { '&:focus': {
@ -36,7 +36,7 @@ export const theme: Theme = {
select: { select: {
// border: '2px solid', // border: '2px solid',
cursor: 'pointer', cursor: 'pointer',
p: '2px 8px', p: '4px 8px',
borderColor: 'grey', borderColor: 'grey',
'&:focus': { '&:focus': {
borderColor: 'primaryDark', borderColor: 'primaryDark',
@ -51,7 +51,7 @@ export const theme: Theme = {
primary: { primary: {
color: 'background', color: 'background',
bg: 'primary', bg: 'primary',
py: '3px', py: '6px',
px: '8px', px: '8px',
cursor: 'pointer', cursor: 'pointer',
borderRadius: '0', borderRadius: '0',