Replace border-bottom underline with text-decoration

This commit is contained in:
Travis Kohlbeck
2020-09-16 20:45:21 -04:00
committed by Jean-Philippe Sirois
parent 24ff058ae9
commit 5e4503abfa
+1 -2
View File
@@ -5,15 +5,14 @@ import styled from "styled-components"
export const PageLink = styled(Link)`
display: block;
padding: 4px 0 0;
margin-bottom: 4px;
color: ${(props) => props.theme.sidebar.foreground};
align-self: flex-start;
text-decoration: none;
border-bottom: 2px solid transparent;
&:hover {
border-color: ${(props) =>
transparentize(0.7, props.theme.sidebar.foreground)};
text-decoration: underline;
}
& + & {