Web: Components: DropDown: Fixed padding
This commit is contained in:
parent
3e1bc96064
commit
ad8485f64f
@ -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 &&
|
||||
|
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user