[FIX] web: fix bolder label in properties field
This commit fixes a visual issue with a label of the properties modal that has a bolder font-weight than the other. This issue comes from the fact we recently changed the behavior of our `bold` and `bolder` variants. To avoid this issue, we simply remove the label to render the text directly inside the `label`. task-3580556 closes odoo/odoo#143794 X-original-commit: 467fb0cb5318594a3b7222640645ad0d15d03c42 Signed-off-by: Stéphane Debauche (std) <std@odoo.com> Signed-off-by: Chrysanthe Gomrée (chgo) <chgo@odoo.com>
This commit is contained in:
@@ -139,10 +139,8 @@
|
||||
|| (state.propertyDefinition.comodel and state.propertyDefinition.comodel.length))"
|
||||
class="o_field_property_definition_value d-contents mb-3 mb-sm-0">
|
||||
<label t-att-for="getUniqueDomID('default')" class="o_form_label align-self-center text-900">
|
||||
<b>
|
||||
<t t-if="state.propertyDefinition.type === 'boolean'">Default State</t>
|
||||
<t t-else="">Default Value</t>
|
||||
</b>
|
||||
<t t-if="state.propertyDefinition.type === 'boolean'">Default State</t>
|
||||
<t t-else="">Default Value</t>
|
||||
</label>
|
||||
<PropertyValue
|
||||
id="getUniqueDomID('default')"
|
||||
|
||||
Reference in New Issue
Block a user