Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Commit

Permalink
fix(css): react-wooden-tree icon fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Levente Berky committed Apr 7, 2020
1 parent 2db4e86 commit beb3da3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"react-final-form": "^4.1.0",
"react-redux": "^5.0.6",
"react-select": "^2.4.2",
"react-wooden-tree": "^2.1.3",
"react-wooden-tree": "^2.1.4",
"redux": "^4.0.0",
"redux-form-validators": "^2.7.0",
"redux-mock-store": "^1.5.1"
Expand Down
5 changes: 4 additions & 1 deletion src/wooden-tree/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@
}

li :first-child {
padding-left: 1em;
display: inline-block;
}

i.icon {
width: 1em;
box-sizing: content-box;
padding: 2px;
padding-right: 1px;
margin-right: 4px;
}

.dirty {
Expand Down
2 changes: 2 additions & 0 deletions src/wooden-tree/stories/Generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ export function generator() {
{
text: 'Child 2 - Changed background color',
icon: 'fa fa-circle',
iconBackground: 'green',
iconColor: 'red',
},
],
},
Expand Down

0 comments on commit beb3da3

Please sign in to comment.