Skip to content

Commit fd5edb9

Browse files
authored
only apply non-empty class name (microsoft#165836)
fix microsoft#165818
1 parent 292a939 commit fd5edb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class DropdownWithPrimaryActionViewItem extends BaseActionViewItem {
4949
this._primaryAction = new MenuEntryActionViewItem(primaryAction, undefined, _keybindingService, _notificationService, _contextKeyService, _themeService, _contextMenuProvider);
5050
this._dropdown = new DropdownMenuActionViewItem(dropdownAction, dropdownMenuActions, this._contextMenuProvider, {
5151
menuAsChild: true,
52-
classNames: ['codicon', 'codicon-chevron-down', className],
52+
classNames: className ? ['codicon', 'codicon-chevron-down', className] : ['codicon', 'codicon-chevron-down'],
5353
keybindingProvider: this._options?.getKeyBinding
5454
});
5555
}

0 commit comments

Comments
 (0)