I'm currently facing an issue while creating a webpage using Bootstrap 4 and flex. I have Bootstrap cards with specific widths, and it seems to work perfectly fine in Google Chrome and Opera but not in Firefox. Here's the code snippet:
<div class="row auxAltura2">
<div class="col">
<div class="card">
<div class="card-header colorPlataforma">
Tags
</div>
<div id="moduloTags" class="card-body">
...
</div>
</div>
</div>
</div>
Below is the CSS code snippet:
.auxAltura2{height:250px}
.card-header{
display: flex;
flex: 1 0 30px;
align-items: center;
font-size:17px;
}
Firefox displaying the card image:
https://i.sstatic.net/rdHF3.png
Opera showing the card image:
https://i.sstatic.net/MNg89.png
There's clearly a difference between the two browsers. Is this a bug? Any assistance on this matter would be greatly appreciated. Thank you for your help.