I am facing an issue with the placement of my HTML tags. Here is a snippet from my service:
public showExportCsvModal = new BehaviorSubject<boolean>(false);
public showDownloadModal = new BehaviorSubject<boolean>(false);
And here is how it looks in my html:
<p *ngIf="stateService.showExportCsvModal | async">
{{'exportModal.severalMinutesToComplete' | translate }}
</p>
<p *ngIf="stateService.showDownloadModal | async">
{{ 'exportModal.severalMinutesToCompleteDownload' | translate }}
</p>
<p>
{{'exportModal.downloadTheFinishedFileFrom' | translate }}
</p>
The problem I'm encountering is that the third p tag appears at the top, creating unwanted visual hierarchy. This image shows the issue: https://i.sstatic.net/KLZOJ.png
Can anyone suggest a solution to prioritize the display order of these ngIf statements? Your assistance is greatly appreciated.