Skip to content

Commit

Permalink
Fix tree node capitalization outside of nav
Browse files Browse the repository at this point in the history
Fixes #4692

The PR #4670 introduced changes which meant that the navigator's file tree's
first node was capitalized among other styling updates. Since other components
use the same `class` `theia-FileTree`, those components were also updated as a
consequence. This PR addresses that issue by making sure only the navigator
gets the new styling by using its `id` instead of the generic class.

Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
  • Loading branch information
vince-fugnitto committed Mar 25, 2019
1 parent 74d7142 commit b09031e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/navigator/src/browser/style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
mask: url('files.svg');
}

.theia-FileTree > div > div > div > div:first-child {
#files > div > div > div > div:first-child {
background-color: var(--theia-layout-color4);
text-transform: uppercase;
font-size: 80%;
Expand Down

0 comments on commit b09031e

Please sign in to comment.