Presently, I have two icons being displayed with a space between them using the flex-box property justify-content and value space-between. The issue arises when only one icon is displayed, as I need the V-icon to always remain on the left and the urgent-icon on the right. I attempted to use floats (right/left) or additional flex-box properties like justify-self: end or flex-end, but these solutions were ineffective. Unfortunately, the urgent-icon moves to the left when it should consistently stay on the right. Is it feasible to achieve this layout using flex-box? What am I missing?
<div class="d-flex justify-content-between">
<a class="text-underline flex-wrap w-70" (click)="navigateToDetails($event)">{{request.id}}</a>
<div class="d-flex justify-content-between w-30">
<img src="assets/v-icon.svg"
title="Urgent Request" (click)="navigateToDetails($event)"
[tooltip]="'Link redirects to Vendor Req.: ' + request.id"
[options]="{'tooltip-class': 'tooltip-style', 'placement': 'top'}">
<img *ngIf="request?.urgent" height="22" width="22" src="assets/urgent-icon.svg"
class="float-right">
</div>
</div>