I'm attempting to center the content of the columns both vertically and horizontally in the following example code:
<div class="row">
<div class="col-4 text-center align-middle">
<img t-if="o.company_id.logo" t-att-src="image_data_uri(o.company_id.logo)" style="max-height: 60px;" alt="Logo"/>
<div>A String</div>
</div>
<div class="col-4 text-center align-middle">
<div>Another String</div>
</div>
<div class="col-4 text-center align-middle">
<div class="panel-body" style="border: 1px solid black">
<div>Panel title <t t-esc="o.company_id.field_1"/></div>
<div>Factura N°: <t t-esc="o.field_2"/></div>
<div>ORIGINAL</div>
</div>
</div>
</div>
So far, I have tried using classes like "row align-items-center", "col align-self-center", and "align-middle" as well as styling with "text-align:center;" but none seem to work. While "text-center" aligns horizontally, how can I achieve vertical alignment as well? Is this possible?