fix: make media button consistent with links (#1621)

This commit is contained in:
Caleb 2018-08-15 16:37:41 -06:00 committed by GitHub
parent 8ee7221b3c
commit 412d1e629f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,9 @@ const AppHeaderContent = styled.div`
const AppHeaderButton = styled.button`
${buttons.button};
background: none;
color: #7b8290;
font-family: inherit;
font-size: 16px;
font-weight: 500;
display: inline-flex;
@ -58,10 +60,17 @@ const AppHeaderButton = styled.button`
color: #b3b9c4;
}
&:hover,
&:active,
&:focus {
${styles.buttonActive};
${Icon} {
${styles.buttonActive};
}
}
${props => css`
&:hover,
&:active,
&:focus,
&.${props.activeClassName} {
${styles.buttonActive};