fix: add overflow-y in select wrapper

This commit is contained in:
George Lima 2019-01-10 10:07:02 -03:00
parent 49466386cf
commit cf59a4183e
1 changed files with 4 additions and 6 deletions

View File

@ -11,14 +11,11 @@ const SelectWrapper = styled.div`
flex-direction: row;
border-radius: ${props => props.theme.boxBorderRadius};
border: none;
background-color: ${// $FlowFixMe
props => props.theme.colors.inputBackground};
color: ${// $FlowFixMe
props => props.theme.colors.text};
background-color: ${props => props.theme.colors.inputBackground};
color: ${props => props.theme.colors.text};
width: 100%;
outline: none;
font-family: ${// $FlowFixMe
props => props.theme.fontFamily};
font-family: ${props => props.theme.fontFamily};
cursor: pointer;
position: relative;
@ -71,6 +68,7 @@ const OptionsWrapper = styled.div`
position: absolute;
width: 100%;
${props => `${props.placement}: ${`-${props.optionsAmount * 60}px`}`};
overflow-y: auto;
`;
const Option = styled.button`