fix seek type select border-radius and user-select (#1904)
This commit is contained in:
parent
8413998974
commit
45931a63ed
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
import Select from 'components/common/Select/Select';
|
||||
import styled, { css } from 'styled-components';
|
||||
|
||||
interface SavedFilterProps {
|
||||
|
@ -313,3 +314,9 @@ export const BackToCustomText = styled.div`
|
|||
${textStyle};
|
||||
cursor: pointer;
|
||||
`;
|
||||
|
||||
export const SeekTypeSelect = styled(Select)`
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
user-select: none;
|
||||
`;
|
||||
|
|
|
@ -364,7 +364,7 @@ const Filters: React.FC<FiltersProps> = ({
|
|||
handleSearch={(value: string) => setQuery(value)}
|
||||
/>
|
||||
<S.SeekTypeSelectorWrapper>
|
||||
<Select
|
||||
<S.SeekTypeSelect
|
||||
id="selectSeekType"
|
||||
onChange={(option) => setCurrentSeekType(option as SeekType)}
|
||||
value={currentSeekType}
|
||||
|
|
Loading…
Add table
Reference in a new issue