[FIX] web: fix selection widget caret overlap

When the text in the selection is long enough to
reach the selection caret, the caret is overlapping
the text making it unreadable.

Adding a gap between the end of the text and the caret
to prevent any text overlapping.

Task-3267526

Forward-port-of: https://github.com/odoo/odoo/pull/118059
X-original-commit: 717bba692d7167dbcd651299e84432dcecf13ab4
Part-of: odoo/odoo#119099
This commit is contained in:
amdi-odoo
2023-04-24 08:38:14 +02:00
committed by std-odoo
parent 17fc488e08
commit 30d29a48fb
@@ -6,7 +6,7 @@
<span t-esc="string" t-att-raw-value="value" />
</t>
<t t-else="">
<select class="o_input" t-on-change="onChange" t-att-id="props.id">
<select class="o_input pe-3" t-on-change="onChange" t-att-id="props.id">
<option
t-att-selected="false === value"
t-att-value="stringify(false)"