[FIX] web: currency field: correctly align currencies

before, currencies were not aligned properly with the input field.
now, it is properly aligned.

closes odoo/odoo#102607

X-original-commit: 4be4d11d75f6a211685d122b6e1f2b97476c5416
Signed-off-by: Simon Genin (ges@odoo) <ges@odoo.com>
Signed-off-by: Dardenne Florent (dafl) <dafl@odoo.com>
This commit is contained in:
fdardenne
2022-10-07 14:37:24 +02:00
parent c872b9d448
commit 91a842bde6
@@ -3,7 +3,7 @@
<t t-name="web.MonetaryField" owl="1">
<span t-if="props.readonly" t-esc="formattedValue" />
<div class="text-nowrap d-inline-flex w-100" t-else="">
<div class="text-nowrap d-inline-flex w-100 align-items-baseline" t-else="">
<span t-if="!props.hideSymbol and currency" t-out="currencySymbol" />
<input t-ref="numpadDecimal" t-att-id="props.id" t-att-type="props.inputType" t-att-placeholder="props.placeholder" class="o_input flex-grow-1 flex-shrink-1"/>
</div>