Skip to content

Commit

Permalink
Quick Input: Rollback overflow handling
Browse files Browse the repository at this point in the history
This commit undoes the overflow handling introduced in eclipse-theia#12095.
The overflow handling is the main culprit in several alignment issues

Signed-Off-By: FernandoAscencio <[email protected]>
  • Loading branch information
FernandoAscencio committed Mar 3, 2023
1 parent f7ef6b5 commit 2d0fa25
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions packages/monaco/src/browser/style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@
.monaco-icon-label-container
> .monaco-icon-name-container {
display: flex !important;
overflow: hidden;
}

.quick-input-list .monaco-list-row.focused {
Expand Down Expand Up @@ -169,6 +168,15 @@
line-height: 22px;
}

.quick-input-list
.quick-input-list-rows
> .quick-input-list-row
.monaco-icon-label
.monaco-icon-label-container
> .monaco-icon-name-container {
flex: 0 !important;
}

.quick-input-list-rows
.quick-input-list-row
.monaco-icon-label
Expand All @@ -188,8 +196,6 @@
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::before {
Expand Down

0 comments on commit 2d0fa25

Please sign in to comment.