From becf1bc76cbc3d6c550676205e8fa8f41502c672 Mon Sep 17 00:00:00 2001 From: George Lima Date: Mon, 10 Dec 2018 21:40:43 -0300 Subject: [PATCH] hotfix: remove absolute position from dropdown menu --- app/components/dropdown.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/dropdown.js b/app/components/dropdown.js index 43782a1..19b953f 100644 --- a/app/components/dropdown.js +++ b/app/components/dropdown.js @@ -14,9 +14,8 @@ const MenuWrapper = styled.div` background-image: ${props => `linear-gradient(to right, ${darken(0.005, props.theme.colors.activeItem)}, ${props.theme.colors.activeItem})`}; padding: 10px; border-radius: 10px; - position: absolute; margin-left: -10px; - min-width: 200px; + min-width: 400px; `; const MenuItem = styled.button` @@ -59,6 +58,7 @@ export class DropdownComponent extends Component { return ( this.setState(() => ({ isOpen: false }))}>