Skip to content

Commit aa52214

Browse files
committed
fix overflow issues in explorer and quick open
related to microsoft#18031
1 parent 29ebd4b commit aa52214

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
.monaco-icon-label {
99
display: inline-block; /* required for icons support :before rule */
10+
overflow: hidden;
11+
text-overflow: ellipsis;
1012
}
1113

1214
.monaco-icon-label::before {

src/vs/base/parts/quickopen/browser/quickopen.css

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

5153
.quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon {
@@ -55,6 +57,7 @@
5557
margin-right: 4px;
5658
display: inline-block;
5759
vertical-align: middle;
60+
flex-shrink: 0;
5861
}
5962

6063
.quick-open-widget .quick-open-tree .quick-open-entry .quick-open-help-entry-label {
@@ -76,6 +79,9 @@
7679
opacity: 0.7;
7780
margin-left: 0.5em;
7881
font-size: 0.9em;
82+
overflow: hidden;
83+
flex: 1;
84+
text-overflow: ellipsis;
7985
}
8086

8187
.quick-open-widget .quick-open-tree .results-group {

0 commit comments

Comments
 (0)