Skip to content

Commit

Permalink
Fix quick pick message size (#73359)
Browse files Browse the repository at this point in the history
Fixes #73345
  • Loading branch information
alexr00 committed May 7, 2019
1 parent 8099c01 commit 8ef8aa6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/vs/workbench/browser/parts/quickinput/quickInput.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@

.quick-input-header {
display: flex;
padding: 6px 6px 4px 6px;
padding: 6px 6px 0px 6px;
margin-bottom: -2px;
}

.quick-input-and-message {
Expand Down Expand Up @@ -98,13 +99,13 @@

.quick-input-action .monaco-text-button {
font-size: 85%;
padding: 7px 6px 6px 6px;
padding: 7px 6px 5.5px 6px;
line-height: initial;
}

.quick-input-message {
margin-top: -1px;
padding: 6px 5px 2px 5px;
padding: 5px 5px 2px 5px;
}

.quick-input-progress.monaco-progress-container {
Expand Down
2 changes: 2 additions & 0 deletions src/vs/workbench/browser/parts/quickinput/quickInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,11 @@ class QuickInput implements IQuickInput {
const styles = this.ui.inputBox.stylesForType(severity);
this.ui.message.style.backgroundColor = styles.background ? `${styles.background}` : null;
this.ui.message.style.border = styles.border ? `1px solid ${styles.border}` : null;
this.ui.message.style.paddingBottom = '4px';
} else {
this.ui.message.style.backgroundColor = '';
this.ui.message.style.border = '';
this.ui.message.style.paddingBottom = '';
}
}

Expand Down

0 comments on commit 8ef8aa6

Please sign in to comment.