Skip to content

Commit

Permalink
Fix issue #13: Styles for active child items
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikborsadiya committed Dec 13, 2017
1 parent 2c37461 commit c79c1f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules/
dist/local.js
4 changes: 4 additions & 0 deletions src/sass/3-component/_sidebar.sass
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@
padding-left: 20px
> li
margin: 0
&.active > a
background-color: rgba(0,0,0,0.2)
margin-left: -5px
padding-left: 20px
> a
padding: 5px 5px 5px 15px
display: block
Expand Down

0 comments on commit c79c1f5

Please sign in to comment.