fix: all inputs should have white background
This commit is contained in:
parent
4679bea9b1
commit
e9eda5237e
|
@ -0,0 +1,4 @@
|
||||||
|
.input-container {
|
||||||
|
background-color: #fff;
|
||||||
|
border-radius: 12px;
|
||||||
|
}
|
|
@ -1,5 +1,6 @@
|
||||||
import { Input as StatusInput, Text } from '@status-im/components'
|
import { Input as StatusInput, Text } from '@status-im/components'
|
||||||
import { Label } from 'tamagui'
|
import { Label } from 'tamagui'
|
||||||
|
import './LabelInputField.css'
|
||||||
|
|
||||||
type LabelInputProps = {
|
type LabelInputProps = {
|
||||||
labelText: string
|
labelText: string
|
||||||
|
@ -12,7 +13,9 @@ function LabelInputField({ labelText, placeholderText }: LabelInputProps) {
|
||||||
<Text size={13} weight="regular" color={'#647084'}>
|
<Text size={13} weight="regular" color={'#647084'}>
|
||||||
{labelText}
|
{labelText}
|
||||||
</Text>
|
</Text>
|
||||||
<StatusInput placeholder={placeholderText} width={'100%'} />
|
<div className="input-container">
|
||||||
|
<StatusInput placeholder={placeholderText} width={'100%'} />
|
||||||
|
</div>
|
||||||
</Label>
|
</Label>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue