Web: Components: DropDown: Fixed padding

This commit is contained in:
Ilya Oleshko 2019-12-27 15:24:42 +03:00
parent 3e1bc96064
commit ad8485f64f
2 changed files with 2 additions and 10 deletions

View File

@ -52,16 +52,6 @@ const StyledDropdownItem = styled.div`
&:hover {
background-color: ${props => props.noHover ? 'white' : '#F8F9F9'};
text-align: left;
&:first-of-type {
border-radius: 6px 6px 0 0;
}
&:last-of-type {
border-radius: 0 0 6px 6px;
}
}
${props => props.isSeparator &&

View File

@ -34,6 +34,8 @@ const StyledDropdown = styled.div`
box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.13);
-moz-box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.13);
-webkit-box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.13);
padding: ${props => !props.maxHeight && `6px 0px`};
`;
const Arrow = styled.div`