Skip to content

Commit f8a575f

Browse files
authored
Center badge items in explorer find (microsoft#238757)
1 parent b8da337 commit f8a575f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/vs/base/browser/ui/iconLabel/iconlabel.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
overflow: hidden;
4747
text-overflow: ellipsis;
4848
flex: 1;
49+
display: flex;
50+
align-items: center;
4951
}
5052

5153
.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name {

src/vs/workbench/contrib/files/browser/media/explorerviewlet.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@
6363
}
6464

6565
.explorer-folders-view .monaco-list-row[aria-expanded="false"] .explorer-item.highlight-badge .monaco-count-badge {
66-
display: inline-block;
66+
display: inline-flex;
67+
align-items: center;
68+
justify-content: center;
6769
}
6870

6971
.explorer-folders-view .explorer-item .monaco-icon-name-container.multiple > .label-name > .monaco-highlighted-label {

0 commit comments

Comments
 (0)