mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-28 02:50:45 +00:00
fix: search and filter structure
This commit is contained in:
parent
584fd9679f
commit
ec69bd6594
@ -67,16 +67,16 @@ const ManagementTable = () => {
|
||||
|
||||
return (
|
||||
<YStack>
|
||||
<XStack justifyContent="space-between">
|
||||
<XStack space={'$3'} justifyContent="space-between" alignItems="center">
|
||||
<SearchManagement searchValue={searchValue} changeSearchValue={changeSearchValue} />
|
||||
<Stack style={{ position: 'relative', display: 'inline-block' }}>
|
||||
<Stack style={{ position: 'relative', display: 'flex', alignItems: 'center' }}>
|
||||
<SortIcon
|
||||
size={20}
|
||||
color="#647084"
|
||||
style={{
|
||||
border: '1px solid #DCE0E5',
|
||||
borderRadius: '10px',
|
||||
padding: '6px',
|
||||
padding: '8px',
|
||||
cursor: 'pointer',
|
||||
}}
|
||||
/>
|
||||
|
@ -8,6 +8,7 @@ type SearchManagementProps = {
|
||||
|
||||
const SearchManagement = ({ searchValue, changeSearchValue }: SearchManagementProps) => {
|
||||
return (
|
||||
<div style={{width: '100%'}} >
|
||||
<Input
|
||||
placeholder="Filter Validators"
|
||||
value={searchValue}
|
||||
@ -16,6 +17,7 @@ const SearchManagement = ({ searchValue, changeSearchValue }: SearchManagementPr
|
||||
onClear={() => changeSearchValue('')}
|
||||
size={40}
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user