Skip to content

Commit 05c7cb5

Browse files
authored
fix(grid): remove unnecessary cell-select class from igx-select components (#3851)
1 parent 1bf267c commit 05c7cb5

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

src/app/grid/grid-select/grid-select-sample.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</igx-column>
44
<igx-column field="race" header="Race" [editable]="true">
55
<ng-template igxCellEditor let-cell="cell" let-value>
6-
<igx-select class="cell-select" [(ngModel)]="cell.editValue" [igxFocus]="true">
6+
<igx-select [(ngModel)]="cell.editValue" [igxFocus]="true">
77
@for (race of races; track race) {
88
<igx-select-item [value]="race">
99
{{ race }}
@@ -14,7 +14,7 @@
1414
</igx-column>
1515
<igx-column field="class" header="Class" [editable]="true">
1616
<ng-template igxCellEditor let-cell="cell" let-value>
17-
<igx-select class="cell-select" [(ngModel)]="cell.editValue" [igxFocus]="true">
17+
<igx-select [(ngModel)]="cell.editValue" [igxFocus]="true">
1818
@for (class of classes; track class) {
1919
<igx-select-item [value]="class">
2020
{{ class }}
@@ -27,7 +27,7 @@
2727
</igx-column>
2828
<igx-column field="alignment" header="Alignment" [editable]="true">
2929
<ng-template igxCellEditor let-cell="cell" let-value>
30-
<igx-select class="cell-select" [(ngModel)]="cell.editValue" [igxFocus]="true">
30+
<igx-select [(ngModel)]="cell.editValue" [igxFocus]="true">
3131
@for (alignment of alignments; track alignment) {
3232
<igx-select-item [value]="alignment">
3333
{{ alignment }}

src/app/grid/grid-select/grid-select-sample.component.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,3 @@
22
display: block;
33
padding: 16px;
44
}
5-
6-
.cell-select {
7-
width: 100%;
8-
height: 100%;
9-
}

0 commit comments

Comments
 (0)