I've been struggling with a Bootstrap bug since yesterday and I can't seem to figure it out. I have placed 2 buttons inside a div with flex display and align-items-center properties, but the second button is appearing lower than the first one and I'm unable to fix it.
Here is my code:
<div class="d-flex justify-content-center align-items-center mt-1">
<a href="/product/{{ $product->id }}" class="btn btn-primary btn-block"><i class="fas fa-cart-arrow-down"></i></a>
<a href="/product/{{ $product->id }}" class="btn btn-primary btn-block ml-1"><i class="fas fa-store"></i></a>
</div>
This is what I am seeing: