Add InputSearch styling

This commit is contained in:
CuriousCorrelation authored and Tom Moor committed 2022-07-17 12:22:25 +01:00
1 parent f7d7159805
commit 0a0946cf12
1 file changed
+19
+19
View File
@@ -110,4 +110,23 @@ const Wrapper = styled.div`
margin-right: 8px;
`;
// `position: sticky` leaves a bit of space above the search box,
// which shows author names moving past behind it.
const StyledInputSearch = styled(InputSearch)`
position: absolute;
border: none;
top: 0;
z-index: 1;
${Outline} {
border-top-style: unset;
border-right-style: unset;
border-left-style: unset;
border-radius: unset;
font-size: 14px;
input {
margin-left: 8px;
}
}
`;
export default FilterOptions;