Commit 7848ad86 authored by Charles Bachmeier's avatar Charles Bachmeier Committed by GitHub

fix: adjust search input width (#4610)

adjust search input width
Co-authored-by: default avatarCharlie <charlie@uniswap.org>
parent 882c15da
...@@ -57,7 +57,6 @@ export const searchBarInput = style([ ...@@ -57,7 +57,6 @@ export const searchBarInput = style([
color: { default: 'blackBlue', placeholder: 'placeholder' }, color: { default: 'blackBlue', placeholder: 'placeholder' },
border: 'none', border: 'none',
background: 'none', background: 'none',
width: 'full',
}), }),
{ {
lineHeight: '24px', lineHeight: '24px',
......
...@@ -418,6 +418,7 @@ export const SearchBar = () => { ...@@ -418,6 +418,7 @@ export const SearchBar = () => {
}`} }`}
value={searchValue} value={searchValue}
ref={inputRef} ref={inputRef}
width={phase1Flag === NftVariant.Enabled || isOpen ? 'full' : '160'}
/> />
</Row> </Row>
<Box className={clsx(isOpen ? styles.visible : styles.hidden)}> <Box className={clsx(isOpen ? styles.visible : styles.hidden)}>
......
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