Update DropdownMenu.js

This commit is contained in:
Tom Moor
2019-07-13 12:56:04 -07:00
committed by GitHub
parent be09ffea7b
commit a8d8fecd15

View File

@ -119,7 +119,7 @@ const Label = styled(Flex).attrs({
`; `;
const Position = styled.div` const Position = styled.div`
position: fixed; position: absolute;
${({ left }) => (left !== undefined ? `left: ${left}px` : '')}; ${({ left }) => (left !== undefined ? `left: ${left}px` : '')};
${({ right }) => (right !== undefined ? `right: ${right}px` : '')}; ${({ right }) => (right !== undefined ? `right: ${right}px` : '')};
top: ${({ top }) => top}px; top: ${({ top }) => top}px;