Skip to content

Commit

Permalink
fix(demo): improve ssr demo
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherPHolder committed May 7, 2024
1 parent 37dd1bc commit 4a009d7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,19 @@ import { DEMO_ROUTE } from '../misc/constants';
<ul class='group'>
@for (icon of tester.icons; track $index) {
<li>
<ion-icon size="large" [src]="$any(icon)" />
<ion-icon [src]="$any(icon)" />
</li>
}
</ul>
}
</div>
`,
styles: `
ion-icon {
font-size: 24px;
margin: 3px;
}
`,
imports: [ControllerComponent, AsyncPipe, IonIcon],
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
Expand Down
2 changes: 1 addition & 1 deletion packages/ngx-fast-icon-demo/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
margin: 0;
}
.row &.icons {
margin-top: 100vh;
margin-top: 300vh;
}
}

Expand Down

0 comments on commit 4a009d7

Please sign in to comment.