Skip to content

Commit 38031be

Browse files
committed
Update sidebar styles
1 parent 29f213a commit 38031be

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/components/TreeView/TreeViewItem.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@ const ListItem = styled.li`
1919
cursor: pointer;
2020
list-style-type: none;
2121
margin-bottom: 0;
22-
padding: 0.5rem;
22+
padding: 0.75rem;
2323
`
2424

2525
const NavigationLink = styled(GatsbyLink)`
26-
padding-left: 0.5rem;
26+
border-left: 0.5rem solid white;
2727
${props => props.active == "t" && `
28-
background-color: #ffccc6;
28+
border-color: #f75b4b;
29+
background-color: #ffeeed;
2930
width: 100%;
3031
`}
3132
`

src/components/TreeView/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import styled from 'styled-components'
44

55
const StyledUl = styled.ul`
66
margin-left: 0;
7+
margin-top: 0.5rem;
78
`
89

910
export default class TreeView extends React.Component {

0 commit comments

Comments
 (0)