Created by: svetoslavatanasov
Setting the display of the figure to 'table' will allow auto margin to be applied:
<figure class="figure mx-auto p-3 bg-light"> ... </figure>