Skip to content

Commit 71bc3d9

Browse files
committed
Improved sidebar nav-header focus rect appearance
1 parent 0748aaf commit 71bc3d9

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/templates/components/Sidebar/Section.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,15 @@ const Section = ({
2424
}) => (
2525
<div>
2626
<button
27-
css={{cursor: 'pointer', backgroundColor: 'transparent', border: 0}}
27+
css={{
28+
cursor: 'pointer',
29+
backgroundColor: 'transparent',
30+
border: 0,
31+
marginTop: 10,
32+
}}
2833
onClick={onSectionTitleClick}>
2934
<MetaTitle
3035
cssProps={{
31-
marginTop: 10,
32-
3336
[media.greaterThan('small')]: {
3437
color: isActive ? colors.text : colors.subtle,
3538

0 commit comments

Comments
 (0)