Commit 2e379ec9 authored by tom's avatar tom

fix tests

parent bad39045
...@@ -53,6 +53,15 @@ const sizes = { ...@@ -53,6 +53,15 @@ const sizes = {
...iconSpacing, ...iconSpacing,
}, },
}, },
xs: {
...Input.sizes?.xs,
field: {
...Input.sizes?.xs.field,
...iconSpacing,
fontSize: 'sm',
lineHeight: '20px',
},
},
}; };
const Select = defineMultiStyleConfig({ const Select = defineMultiStyleConfig({
...@@ -62,7 +71,7 @@ const Select = defineMultiStyleConfig({ ...@@ -62,7 +71,7 @@ const Select = defineMultiStyleConfig({
}, },
sizes, sizes,
defaultProps: { defaultProps: {
size: 'sm', size: 'xs',
}, },
}); });
......
...@@ -21,7 +21,7 @@ const RawInputData = ({ hex }: Props) => { ...@@ -21,7 +21,7 @@ const RawInputData = ({ hex }: Props) => {
return ( return (
<Box w="100%"> <Box w="100%">
<Flex justifyContent="space-between" alignItems="center"> <Flex justifyContent="space-between" alignItems="center">
<Select size="sm" borderRadius="base" value={ selectedDataType } onChange={ handleSelectChange } focusBorderColor="none" w="auto"> <Select size="xs" borderRadius="base" value={ selectedDataType } onChange={ handleSelectChange } focusBorderColor="none" w="auto">
{ OPTIONS.map((option) => <option key={ option } value={ option }>{ option }</option>) } { OPTIONS.map((option) => <option key={ option } value={ option }>{ option }</option>) }
</Select> </Select>
<CopyToClipboard text={ hex }/> <CopyToClipboard text={ hex }/>
......
...@@ -66,7 +66,7 @@ const LogTopic = ({ hex, index }: Props) => { ...@@ -66,7 +66,7 @@ const LogTopic = ({ hex, index }: Props) => {
</Button> </Button>
{ index !== 0 && ( { index !== 0 && (
<Select <Select
size="sm" size="xs"
borderRadius="base" borderRadius="base"
value={ selectedDataType } value={ selectedDataType }
onChange={ handleSelectChange } onChange={ handleSelectChange }
......
...@@ -21,7 +21,7 @@ const NetworkMenuContentMobile = () => { ...@@ -21,7 +21,7 @@ const NetworkMenuContentMobile = () => {
return ( return (
<Box mt={ 6 }> <Box mt={ 6 }>
<Select size="sm" borderRadius="base" value={ selectedTab } onChange={ handleSelectChange } focusBorderColor="none"> <Select size="xs" borderRadius="base" value={ selectedTab } onChange={ handleSelectChange } focusBorderColor="none">
{ TABS.map((tab) => <option key={ tab } value={ tab }>{ capitalize(tab) }</option>) } { TABS.map((tab) => <option key={ tab } value={ tab }>{ capitalize(tab) }</option>) }
</Select> </Select>
<VStack as="ul" spacing={ 2 } alignItems="stretch" mt={ 6 }> <VStack as="ul" spacing={ 2 } alignItems="stretch" mt={ 6 }>
......
...@@ -45,7 +45,7 @@ const TxStateStorageItem = ({ storageItem }: {storageItem: TTxStateItemStorage}) ...@@ -45,7 +45,7 @@ const TxStateStorageItem = ({ storageItem }: {storageItem: TTxStateItemStorage})
<GridItem display="flex" flexDir="row" columnGap={ 3 } alignItems="center" > <GridItem display="flex" flexDir="row" columnGap={ 3 } alignItems="center" >
{ item.select && ( { item.select && (
<Select <Select
size="sm" size="xs"
borderRadius="base" borderRadius="base"
focusBorderColor="none" focusBorderColor="none"
display="inline-block" display="inline-block"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment