I have a form row with two inputs. There is a requirement to show ⚠️ (warning emoji) next to the second input in the row, based on the input number.
However, because of how flexbox behaves, the input size gets reduced... How can I maintain the input size and still display the warning emoji beside it?
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="35575a5a41464147544575011b001b06">[email protected]</a>/dist/css/bootstrap.min.css" rel="stylesheet" />
<div class="row py-3 border-bottom order-line-item mx-0">
<div class="col-6 pl-3 pr-4">
<div class="d-flex align-items-center flex-fill product-detail-field cursor-pointer">
<div class="d-flex align-items-center flex-fill">
<div class="ml-3 d-flex flex-column align-items-start flex-fill">
<div class="d-flex align-items-center w-100">Snowboard</div>
</div>
</div>
</div>
</div>
<div class="col-2 d-flex align-items-center">
<div>
<input type="number" name="unitPriceAmount" class="form-control undefined" min="0" value="0">
</div>
</div>
<div class="col-2 d-flex align-items-center">
<div class="d-flex align-items-center flex-row">
<input type="number" name="quantity" class="form-control undefined" min="0" value="0">
<span class="ml-1" title="Some Warning">⚠️</span>
</div>
</div>
<div class="col d-flex align-items-center justify-content-end">
<div>€0</div>
</div>
<div class="col-form-label ml-2 d-flex align-items-center"><span class="cursor-pointer ml-auto mr-1"><i class="fas fa-times"></i></span></div>
</div>