Fixed ActiveLink coloring

burgermenu
E. Almqvist 2 years ago
parent 21d5ccf994
commit 5edf498a3f
  1. 1
      components/activelink.tsx

@ -7,6 +7,7 @@ import styled, {css} from "styled-components"
const ALink = styled.a<{active?: boolean}>` const ALink = styled.a<{active?: boolean}>`
border-bottom: 1px solid transparent; border-bottom: 1px solid transparent;
${({active}) => active && css` ${({active}) => active && css`
color: var(--fg) !important;
border-bottom-color: currentColor; border-bottom-color: currentColor;
`} `}
` `

Loading…
Cancel
Save