Skip to content

Commit 9492035

Browse files
Position stars correctly in accordion templating sample (#3869)
1 parent 00050ed commit 9492035

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/layouts/accordion/accordion-sample-3/accordion-sample-3.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@
3333
</igx-expansion-panel-header>
3434
<igx-expansion-panel-body>
3535
@for (item of [].constructor(4); track item; let i = $index) {
36-
<div>
36+
<div style="display:flex; gap: 4px; align-items: center;">
3737
@if (i===0) {
3838
<igx-radio [(ngModel)]="rating" [value]="i+1 + ' star or more'"> {{ i + 1 }} star or more</igx-radio>
3939
}
4040
@if (i>0) {
4141
<igx-radio [(ngModel)]="rating" [value]="i+1 + ' stars or more'"> {{ i + 1 }} stars or more</igx-radio>
4242
}
43-
<div style="display:inline-flex;">
43+
<div style="display:inline-flex; padding-top: 4px">
4444
@for (fillStar of [].constructor(i + 1); track fillStar) {
4545
<div>
4646
<igx-icon>star</igx-icon>

0 commit comments

Comments
 (0)