Browse Source

Improved sidebar nav-header focus rect appearance

main
Brian Vaughn 7 years ago
parent
commit
71bc3d9140
  1. 9
      src/templates/components/Sidebar/Section.js

9
src/templates/components/Sidebar/Section.js

@ -24,12 +24,15 @@ const Section = ({
}) => ( }) => (
<div> <div>
<button <button
css={{cursor: 'pointer', backgroundColor: 'transparent', border: 0}} css={{
cursor: 'pointer',
backgroundColor: 'transparent',
border: 0,
marginTop: 10,
}}
onClick={onSectionTitleClick}> onClick={onSectionTitleClick}>
<MetaTitle <MetaTitle
cssProps={{ cssProps={{
marginTop: 10,
[media.greaterThan('small')]: { [media.greaterThan('small')]: {
color: isActive ? colors.text : colors.subtle, color: isActive ? colors.text : colors.subtle,

Loading…
Cancel
Save