Skip to content

Commit 262bc57

Browse files
authored
Merge pull request #30 from antoinerousseau/master
vertically adjust github icons
2 parents 3049bf9 + 48901b3 commit 262bc57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/content.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ td.icon > img {
4343
}
4444

4545
.vscode-icon {
46-
vertical-align: middle;
46+
vertical-align: -3px;
4747
height: 16px;
4848
}
4949

packages/content/pages/GitHub.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function showRepoTreeIcons(rowEl: Element) {
9595
return;
9696
}
9797
const x = mutate(() => {
98-
iconSVGEl.outerHTML = `<img src="${getIconUrl(iconPath)}" class="${iconSVGClassName}" alt="icon" width="16" height="16">`;
98+
iconSVGEl.outerHTML = `<img src="${getIconUrl(iconPath)}" class="vscode-icon ${iconSVGClassName}" alt="icon" width="16" height="16">`;
9999
});
100100
}
101101
// else {

0 commit comments

Comments
 (0)