This repository was archived by the owner on Jul 1, 2025. It is now read-only.
alternateSide doesn't work with ngFor #7
Unanswered
oliveroing
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi @oliveroing,
If your particular icon does not place in the center of the circle you can try adding negative margin in the mat-icon.
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I'm using the library and when I apply an *ngFor directive to a mzd-timeline-content , it doesn't alternate sides.
This is the code:
<mzd-timeline [alternateSide]="true"> <mzd-timeline-content *ngFor="let activity of activities"> <mzd-icon><mat-icon>podcasts</mat-icon></mzd-icon> {{ activity.observations }} </mzd-timeline-content> </mzd-timeline>
Can anyone help me? Thank you!
P.S.: I have some others issues: can I change de font ? Why when I use mat-icon it doesn't shows centered on the circle?
Beta Was this translation helpful? Give feedback.
All reactions