Skip to content

Commit

Permalink
Fixed #3950: improved UI of SCM by fixing the item alignment
Browse files Browse the repository at this point in the history
- Made the "status" item in SCM center-aligned at the end-of-line position.

Signed-off-by: fangnx <naxin.fang@ericsson.com>
  • Loading branch information
fangnx authored and vince-fugnitto committed Jul 17, 2019
1 parent 6021d79 commit 0d58d64
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/scm/src/browser/style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@
}

.theia-scm .scmItem {
margin: 1px 0 1px 3px;
padding: 2px;
margin: 1px 0 1px 0;
padding: 2px 5px 2px 5px;
font-size: var(--theia-ui-font-size1);
display: flex;
justify-content: space-between;
Expand All @@ -205,7 +205,10 @@
}

.theia-scm .scmItem .status {
padding: 2px 4px;
width: 16px;
text-align: center;
padding-top: 2px;
padding-bottom: 2px;
font-size: var(--theia-ui-font-size0);
}
.scm-change-count {
Expand Down

0 comments on commit 0d58d64

Please sign in to comment.