提交 aa522145 编写于 作者: J Joao Moreno

fix overflow issues in explorer and quick open

related to #18031
上级 29ebd4b9
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
.monaco-icon-label { .monaco-icon-label {
display: inline-block; /* required for icons support :before rule */ display: inline-block; /* required for icons support :before rule */
overflow: hidden;
text-overflow: ellipsis;
} }
.monaco-icon-label::before { .monaco-icon-label::before {
......
...@@ -46,6 +46,8 @@ ...@@ -46,6 +46,8 @@
.quick-open-widget .quick-open-tree .quick-open-entry { .quick-open-widget .quick-open-tree .quick-open-entry {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: flex;
align-items: center;
} }
.quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon { .quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon {
...@@ -55,6 +57,7 @@ ...@@ -55,6 +57,7 @@
margin-right: 4px; margin-right: 4px;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
flex-shrink: 0;
} }
.quick-open-widget .quick-open-tree .quick-open-entry .quick-open-help-entry-label { .quick-open-widget .quick-open-tree .quick-open-entry .quick-open-help-entry-label {
...@@ -76,6 +79,9 @@ ...@@ -76,6 +79,9 @@
opacity: 0.7; opacity: 0.7;
margin-left: 0.5em; margin-left: 0.5em;
font-size: 0.9em; font-size: 0.9em;
overflow: hidden;
flex: 1;
text-overflow: ellipsis;
} }
.quick-open-widget .quick-open-tree .results-group { .quick-open-widget .quick-open-tree .results-group {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册