Skip to content

Commit 24fff3f

Browse files
authored
fix(combo): update styles of igx-combo-add-item (#15273)
1 parent 91ae49c commit 24fff3f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

projects/igniteui-angular/src/lib/combo/combo-add-item.component.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { IgxComboItemComponent } from './combo-item.component';
2-
import { Component } from '@angular/core';
2+
import { Component, HostBinding } from '@angular/core';
33

44
/**
55
* @hidden
@@ -11,6 +11,11 @@ import { Component } from '@angular/core';
1111
standalone: true
1212
})
1313
export class IgxComboAddItemComponent extends IgxComboItemComponent {
14+
@HostBinding('class.igx-drop-down__item')
15+
public get isDropDownItem(): boolean {
16+
return false;
17+
}
18+
1419
public override get selected(): boolean {
1520
return false;
1621
}

projects/igniteui-angular/src/lib/core/styles/components/combo/_combo-theme.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,8 @@
209209
%igx-combo__add-item {
210210
height: auto !important;
211211
background: var-get($theme, 'empty-list-background') !important;
212-
justify-content: center !important;
212+
justify-content: center;
213+
outline: none !important;
213214
}
214215

215216
%igx-combo__empty {

0 commit comments

Comments
 (0)