Commit b21183e2 authored by David Rhoderick's avatar David Rhoderick
Browse files

Fixing navbar styling for dropdowns.

parent 785b50b5
......@@ -232,7 +232,7 @@ const SearchButton = styled(FontAwesomeIcon)`
const DesktopNav = styled.nav`
width: 100%;
padding: 0.5rem 2rem;
padding: 0 2rem;
background: ${(props) => props.theme.colors.transPurple};
z-index: 2000;
......
......@@ -43,6 +43,7 @@ const DropdownParent = styled.button`
cursor: pointer;
font-size: 0.9rem;
font-weight: bold;
padding: 0.5rem 0;
${props => props.theme.breakPoints.md} {
margin: .5rem;
......@@ -57,7 +58,7 @@ const StyledDropdownContainer = styled.div`
const Dropdown = styled.div`
position: absolute;
padding: .5rem;
margin-top: 0.5rem;
${'' /* margin-top: 0.5rem; */}
display: ${props => props.showDropdown ? 'flex' : 'none'};
flex-direction: column;
background: ${props => props.theme.colors.purple};
......
......@@ -24,7 +24,7 @@ export default connect(NavLink)
const StyledNavLink = styled(Link)`
display: inline-block;
padding: 0.25rem;
padding: 0.5rem 0.25rem;
margin: 0 .5rem;
text-decoration: none;
cursor: pointer;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment