[FIX] web : remove inline class from expected revenue field

The 'oe_inline' class does not allow the 'at' and the following elements to move to right when we have currency symbol of more than one character. Previously the value of max-width was set to 9rem which is now changed to inherit, so that it still have the space even if the space on the sides is consumed by other elements.

Steps to reproduce:
1. Set the currency of your company whose symbol is more than one character e.g AED
2. Start writing in expected revenue field.

Current Behaviour:
The input field will take over the 'at' string and overlap.

Expected Beahviour:
The strings and elements following the expected revenue input should move to right if the currency symbol's width increases.

OPW-3343377

closes odoo/odoo#131811

X-original-commit: 66946eb2311dd31b91d090b119ead610557d6b94
Signed-off-by: Bastien Fafchamps (bafa) <bafa@odoo.com>
Signed-off-by: Hamza Islam (hisl) <hisl@odoo.com>
This commit is contained in:
Hamza (hisl)
2023-08-21 12:39:10 +02:00
parent 8164f107be
commit 970abd4f8d
@@ -664,7 +664,7 @@
.o_field_float, .o_field_date, .o_field_monetary {
&.oe_inline {
&, input {
max-width: 9rem;
max-width: inherit;
}
}
}