Centered down-arrow icons in top navbar (#14846)

This commit is contained in:
Lyndsi Kay Williams
2021-06-08 12:09:35 -05:00
committed by GitHub
parent 4e998e62fc
commit 94c86c3837
2 changed files with 6 additions and 0 deletions

View File

@@ -91,6 +91,9 @@ const StyledHeader = styled.header`
flex-direction: column;
justify-content: center;
}
.main-nav .ant-menu-submenu-title > svg {
top: ${({ theme }) => theme.gridUnit * 5.25}px;
}
@media (max-width: 767px) {
.navbar-brand {
float: none;

View File

@@ -59,6 +59,9 @@ const StyledDiv = styled.div<{ align: string }>`
justify-content: ${({ align }) => align};
align-items: center;
margin-right: ${({ theme }) => theme.gridUnit}px;
.ant-menu-submenu-title > svg {
top: ${({ theme }) => theme.gridUnit * 5.25}px;
}
`;
const StyledAnchor = styled.a`