Skip to content

Commit d2a2832

Browse files
committed
fix(combo): use the medium size of the design in the feature samples
1 parent c02ef34 commit d2a2832

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

‎src/app/lists/combo/combo-features/combo-features.component.scss‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
min-height: 17.5rem;
2828
}
2929

30+
/* The app makes every component large; the combo keeps the medium size of the design.
31+
Its list carries the size into the overlay. */
32+
igx-combo {
33+
--ig-size: var(--ig-size-medium);
34+
}
35+
3036
/* The selected values of the combo, under it. */
3137
.selection-panel {
3238
display: flex;

‎src/app/lists/combo/combo-overlay/combo-overlay.component.scss‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
min-height: 18.5rem;
1515
}
1616

17+
/* The app makes every component large; the combo keeps the medium size of the design.
18+
Its list carries the size into the overlay. */
19+
igx-combo {
20+
--ig-size: var(--ig-size-medium);
21+
}
22+
1723
/* The selected values of the combo, under it. */
1824
.selection-panel {
1925
display: flex;

‎src/app/lists/combo/combo-remote/combo-remote.component.scss‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
grid-column: 2;
2828
}
2929

30+
/* The app makes every component large; the combo keeps the medium size of the design.
31+
Its list carries the size into the overlay. */
32+
igx-combo {
33+
--ig-size: var(--ig-size-medium);
34+
}
35+
3036
/* The dropdown footer: the chunk being loaded, and how much of the data is loaded. */
3137
.loading-chunk {
3238
display: flex;

0 commit comments

Comments
 (0)