Skip to content

Commit

Permalink
fix seek type select border-radius and user-select (provectus#1904)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonyandev committed May 4, 2022
1 parent b207d4f commit af059d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import Select from 'components/common/Select/Select';
import styled, { css } from 'styled-components';

interface SavedFilterProps {
Expand Down Expand Up @@ -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;
`;
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit af059d6

Please sign in to comment.