mirror of
https://github.com/Microsoft/vscode
synced 2024-10-04 02:14:06 +00:00
use commit-icon for description, tweak codicon font-size (#155714)
https://github.com/microsoft/vscode/issues/150863
This commit is contained in:
parent
7a1f7101db
commit
ce5d92e998
|
@ -432,11 +432,11 @@ export class CommandCenter {
|
|||
]);
|
||||
// ours (current branch and commit)
|
||||
ours.detail = head.refNames.map(s => s.replace(/^HEAD ->/, '')).join(', ');
|
||||
ours.description = head.hash.substring(0, 7);
|
||||
ours.description = '$(git-commit) ' + head.hash.substring(0, 7);
|
||||
|
||||
// theirs
|
||||
theirs.detail = rebaseOrMergeHead.refNames.join(', ');
|
||||
theirs.description = rebaseOrMergeHead.hash.substring(0, 7);
|
||||
theirs.description = '$(git-commit) ' + rebaseOrMergeHead.hash.substring(0, 7);
|
||||
|
||||
} catch (error) {
|
||||
// not so bad, can continue with just uris
|
||||
|
|
|
@ -31,6 +31,10 @@
|
|||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.monaco-workbench .merge-editor .code-view > .title>SPAN.detail .codicon {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.monaco-workbench .merge-editor .code-view > .container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
|
Loading…
Reference in a new issue