From 68fe499c77134198abe2f4d3c6c2660b5c759733 Mon Sep 17 00:00:00 2001 From: FernandoAscencio Date: Thu, 23 Feb 2023 13:02:59 -0500 Subject: [PATCH] monaco: quick input regression fix This commit is the first attempt to fix the regression introduced in #12095 Signed-Off-By: FernandoAscencio --- packages/monaco/src/browser/style/index.css | 31 ++++++--------------- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/packages/monaco/src/browser/style/index.css b/packages/monaco/src/browser/style/index.css index 634980d4ad621..df1d613b2419a 100644 --- a/packages/monaco/src/browser/style/index.css +++ b/packages/monaco/src/browser/style/index.css @@ -103,25 +103,6 @@ color: var(--theia-foreground) !important; } -.quick-input-list - .quick-input-list-rows - > .quick-input-list-row - .monaco-icon-label, -.quick-input-list - .quick-input-list-rows - > .quick-input-list-row - .monaco-icon-label - .monaco-icon-label-container, -.quick-input-list - .quick-input-list-rows - > .quick-input-list-row - .monaco-icon-label - .monaco-icon-label-container - > .monaco-icon-name-container { - display: flex !important; - overflow: hidden; -} - .quick-input-list .monaco-list-row.focused { background-color: var(--theia-quickInputList-focusBackground) !important; } @@ -165,7 +146,7 @@ } .monaco-icon-label > .monaco-icon-label-container { - flex: 1 !important; + flex: 1; line-height: 22px; } @@ -188,8 +169,12 @@ font-family: var(--theia-ui-font-family); font-size: var(--theia-ui-font-size1) !important; color: var(--theia-foreground) !important; - overflow: hidden; - text-overflow: ellipsis; +} + +.quick-input-list .monaco-icon-label.codicon { + display: flex; + text-align: left; + margin-top: -3px; } .quick-input-list .monaco-icon-label::before { @@ -197,7 +182,7 @@ } .quick-input-list .monaco-icon-label.codicon::before { - padding-top: 3px; + padding-top: 5px; } .quick-input-list .monaco-icon-label.theia-file-icons-js {