Skip to content

Commit

Permalink
Fix Source Tree padding left (firefox-devtools#4303)
Browse files Browse the repository at this point in the history
* Fix Source Tree padding left

* change to match the top ooutline spacing
  • Loading branch information
Mateus Ortiz authored and Johnny Khalil committed Oct 13, 2017
1 parent 6388a54 commit 14f9fd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/PrimaryPanes/Sources.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
display: flex;
overflow-x: hidden;
overflow-y: auto;
padding-top: 11px;
}

.sources-list .managed-tree {
Expand Down
2 changes: 1 addition & 1 deletion src/components/PrimaryPanes/SourcesTree.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class SourcesTree extends Component {
return (
<div
className={classnames("node", { focused })}
style={{ [paddingDir]: `${depth * 15}px` }}
style={{ [paddingDir]: `${depth * 15 + 5}px` }}
key={item.path}
onClick={() => {
this.selectItem(item);
Expand Down

0 comments on commit 14f9fd4

Please sign in to comment.