Commit e2d7cf71 authored by tom's avatar tom

clean up

parent 6cb80c92
...@@ -22,11 +22,13 @@ const FilterButton = ({ isActive, appliedFiltersNum, onClick, isCollapsed }: Pro ...@@ -22,11 +22,13 @@ const FilterButton = ({ isActive, appliedFiltersNum, onClick, isCollapsed }: Pro
leftIcon={ isCollapsed ? undefined : FilterIcon } leftIcon={ isCollapsed ? undefined : FilterIcon }
rightIcon={ appliedFiltersNum ? <Circle bg={ badgeBgColor } size={ 5 } color={ badgeColor }>{ appliedFiltersNum }</Circle> : undefined } rightIcon={ appliedFiltersNum ? <Circle bg={ badgeBgColor } size={ 5 } color={ badgeColor }>{ appliedFiltersNum }</Circle> : undefined }
size="sm" size="sm"
fontWeight="500"
variant="outline" variant="outline"
colorScheme="gray-dark" colorScheme="gray-dark"
onClick={ onClick } onClick={ onClick }
isActive={ isActive } isActive={ isActive }
px={ 1.5 } px={ 1.5 }
flexShrink={ 0 }
> >
{ isCollapsed ? FilterIcon : 'Filter' } { isCollapsed ? FilterIcon : 'Filter' }
</Button> </Button>
......
...@@ -36,6 +36,8 @@ const FilterInput = ({ onChange, className, size = 'sm', placeholder }: Props) = ...@@ -36,6 +36,8 @@ const FilterInput = ({ onChange, className, size = 'sm', placeholder }: Props) =
value={ filterQuery } value={ filterQuery }
onChange={ handleFilterQueryChange } onChange={ handleFilterQueryChange }
placeholder={ placeholder } placeholder={ placeholder }
borderWidth="2px"
textOverflow="ellipsis"
/> />
</InputGroup> </InputGroup>
); );
......
...@@ -36,11 +36,10 @@ const Filters = () => { ...@@ -36,11 +36,10 @@ const Filters = () => {
size="sm" size="sm"
variant="outline" variant="outline"
colorScheme="gray-dark" colorScheme="gray-dark"
fontWeight="500" borderWidth="1px"
onClick={ handleClick } onClick={ handleClick }
isActive={ isActive } isActive={ isActive }
px={ 2 } px={ 1.5 }
flexShrink={ 0 }
> >
Filter Filter
</Button> </Button>
......
...@@ -45,7 +45,6 @@ const Page = ({ children }: Props) => { ...@@ -45,7 +45,6 @@ const Page = ({ children }: Props) => {
paddingTop={ isMobile ? 0 : 9 } paddingTop={ isMobile ? 0 : 9 }
paddingBottom={ 10 } paddingBottom={ 10 }
spacing={ 0 } spacing={ 0 }
overflow="hidden"
> >
<Header/> <Header/>
<Box <Box
......
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