Browse Source

fix: side-nav item focus style, #711

fix/minor-fixes
Thomas Osmonson 4 years ago
committed by Thomas Osmonson
parent
commit
556c02f508
  1. 4
      src/components/side-nav.tsx

4
src/components/side-nav.tsx

@ -62,6 +62,7 @@ const PageItem = React.forwardRef(
<SmartLink
ref={ref}
css={css({
outline: '0',
display: 'block',
...typeStyles,
color: isActive ? color('accent') : isTopLevel ? color('text-title') : _color,
@ -70,6 +71,9 @@ const PageItem = React.forwardRef(
color: isTopLevel ? color('accent') : color('text-title'),
},
textDecoration: 'none',
':focus': {
color: color('accent'),
},
})}
{...props}
>

Loading…
Cancel
Save