[FIX] web: fix translation dialog alignment

before this commit,
in the translation dialog for a model_terms translated field, English term and
translated terms are shown in different rows

after this commit,
An English term and its translated term are in the same row.

opw-3086352

closes odoo/odoo#108900

X-original-commit: 6cfede8c9b7ac317a602d36a227d7809c3b21964
Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
Signed-off-by: Wang Chong (cwg) <cwg@odoo.com>
This commit is contained in:
Chong Wang (cwg)
2023-01-02 12:56:35 +01:00
parent 64135d90ad
commit 956cdd8a22
@@ -14,11 +14,11 @@
<t t-esc="term.langName" />
</div>
<t t-if="props.showSource">
<div class="col-12 col-lg-3 source" t-attf-class="col-lg-{{ props.showSource ? 7 : 9 }}">
<div class="col-12 col-lg-3 source">
<t t-esc="term.source" />
</div>
</t>
<div class="col-12 translation">
<div class="col-12 translation" t-attf-class="col-lg-{{ props.showSource ? 7 : 9 }}">
<t t-if="props.isText">
<textarea
class="o_field_text o_field_translate o_field_widget o_input"