Skip to content

Commit

Permalink
Fix icons & file names alignment issue in tree
Browse files Browse the repository at this point in the history
Fixes #5580

- Adjust the spacing between file icons and file names in navigation tree so that they are aligned vertically and horizontally

Signed-off-by: Kaiyue Pan <[email protected]>
  • Loading branch information
Kaiyue Pan authored and vince-fugnitto committed Jan 28, 2020
1 parent 2387556 commit c92eb94
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/filesystem/src/browser/style/file-icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@
font-size: calc(var(--theia-content-font-size) * 0.8);
}

.theia-file-icons-js.file-icon {
width: var(--theia-icon-size);
height: var(--theia-icon-size);
display: flex;
justify-content: center;
align-items: center;
}

.fa-file:before,
.fa-folder:before,
.theia-file-icons-js:before {
Expand Down

0 comments on commit c92eb94

Please sign in to comment.