simplify style
This commit is contained in:
@@ -66,13 +66,7 @@ export function SearchInput({
|
|||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
autoCapitalize="none"
|
autoCapitalize="none"
|
||||||
onKeyPress={onKeyPress}
|
onKeyPress={onKeyPress}
|
||||||
style={[
|
style={[!!showClear && a.pr_2xl]}
|
||||||
showClear
|
|
||||||
? {
|
|
||||||
paddingRight: 24,
|
|
||||||
}
|
|
||||||
: {},
|
|
||||||
]}
|
|
||||||
{...rest}
|
{...rest}
|
||||||
/>
|
/>
|
||||||
</TextField.Root>
|
</TextField.Root>
|
||||||
|
|||||||
Reference in New Issue
Block a user