skip to Main Content

First child – SCSS

I have this HTML <div class="options-panel"> @for (action of sortingActions) { @if (!action.hasChildren) { <app-options-item [columns]="columns" [action]="action" (buttonClicked)="changeSorting(theadCol.sorting, action.direction)"></app-options-item> } @else { <app-options-item class="options-divider" [columns]="columns" [action]="action"></app-options-item> } } </div> and this CSS .options-panel { display: flex; flex-direction: column; align-items: flex-start;…

VIEW QUESTION
Back To Top
Search