Browse Source

Send PR icon to the graph

main
Ramin Tadayon 2 years ago
parent
commit
88b45a2243
No known key found for this signature in database GPG Key ID: 5B90E918AEBCE7A7
2 changed files with 10 additions and 0 deletions
  1. +1
    -0
      src/webviews/apps/plus/graph/GraphWrapper.tsx
  2. +9
    -0
      src/webviews/apps/plus/graph/graph.scss

+ 1
- 0
src/webviews/apps/plus/graph/GraphWrapper.tsx View File

@ -114,6 +114,7 @@ const createIconElements = (): { [key: string]: ReactElement } => {
'deleted',
'renamed',
'resolved',
'pull-request',
];
const elementLibrary: { [key: string]: ReactElement<any> } = {};
iconList.forEach(iconKey => {

+ 9
- 0
src/webviews/apps/plus/graph/graph.scss View File

@ -434,6 +434,15 @@ a {
}
}
.icon--pull-request {
&::before {
// codicon-git-pull-request
font-family: codicon;
content: '\ea64';
}
}
.titlebar {
background: var(--vscode-titleBar-inactiveBackground);
color: var(--vscode-titleBar-inactiveForeground);

Loading…
Cancel
Save