File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed
src/vs/platform/quickinput/browser Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 59
59
60
60
.quick-input-header {
61
61
display : flex;
62
- padding : 8px 6px 6 px 6px ;
62
+ padding : 8px 6px 2 px 6px ;
63
63
}
64
64
65
65
.quick-input-widget .hidden-input .quick-input-header {
323
323
background : none;
324
324
}
325
325
326
- /* Quick input separators as full-row item */
327
326
.quick-input-list .quick-input-list-separator-as-item {
328
- font-weight : 600 ;
327
+ padding : 4 px 6 px ;
329
328
font-size : 12px ;
330
329
}
331
330
331
+ /* Quick input separators as full-row item */
332
+ .quick-input-list .quick-input-list-separator-as-item .label-name {
333
+ font-weight : 600 ;
334
+ }
335
+
336
+ .quick-input-list .quick-input-list-separator-as-item .label-description {
337
+ /* Override default description opacity so we don't have a contrast ratio issue. */
338
+ opacity : 1 !important ;
339
+ }
340
+
332
341
/* Hide border when the item becomes the sticky one */
333
342
.quick-input-list .monaco-tree-sticky-row .quick-input-list-entry .quick-input-list-separator-as-item .quick-input-list-separator-border {
334
343
border-top-style : none;
Original file line number Diff line number Diff line change @@ -277,9 +277,8 @@ class QuickPickSeparatorElement extends BaseQuickPickItemElement {
277
277
class QuickInputItemDelegate implements IListVirtualDelegate < IQuickPickElement > {
278
278
getHeight ( element : IQuickPickElement ) : number {
279
279
280
- if ( ! element . item ) {
281
- // must be a separator
282
- return 24 ;
280
+ if ( element instanceof QuickPickSeparatorElement ) {
281
+ return 30 ;
283
282
}
284
283
return element . saneDetail ? 44 : 22 ;
285
284
}
You can’t perform that action at this time.
0 commit comments