Is there a way to style the elements within an anchor tag in Angular Material so that they display in a single line? I am looking for the CSS solution to achieve this outcome.
This is my current HTML code:
<a mat-list-item [routerLink]="['dashboard']" style="text-align: center;">
<mat-icon style="height:15px;display: block;">dashboard</mat-icon>
<span style="display: block;">Dashboard</span>
</a>