I am struggling with the layout of my card body, which includes a floating logo and rows enclosed in a container-fluid.
While everything looks great in Chrome, I am facing alignment issues in Edge and Firefox.
I have considered using absolute positioning for the logo, but I prefer to have the text wrap around the image as it currently does in Chrome.
<div class="card-body" style="max-width: 400px">
<span class="rounded logo-container" style="float:right;max-width: 40%;">
<div style="height: 60px; width: 80px;background: red" alt="Logo" ></div>
</span>
<p class="mb-1 font-weight-bold">ASDASDASDASD</p>
<div class="container-fluid p-0">
<div class="row">
<div class="col" style="max-width: 6em">sadfasdf:</div>
<div class="col">sdfasdf</div>
</div>
<div class="row">
<div class="col" style="max-width: 6em">safdasdfasdf:</div>
<div class="col">sdfsadfsadfasdf</div>
</div>
<div class="row">
<div class="col" style="max-width: 6em">sadfasdfsa:</div>
<div class="col">afsdafs dfsdfsadsdgdfgfs sdfsadf</div>
</div>
</div>
</div>
Take a look at the fiddle here: https://jsfiddle.net/s2u8y4q0/1/