Skip to content

Commit b90059e

Browse files
committed
[FIX] web: apply correctly the css to the boolean fields in the settings
Since 4f98456, the css theme is not correctly applied to the boolean fields in the settings, allows them to take a big width. Now, the max width is fixed. Note that, this was already the case on the legacy views closes odoo#97378 Signed-off-by: Samuel Degueldre <sad@odoo.com>
1 parent 08420e9 commit b90059e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

addons/web/static/src/views/form/form_controller.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,8 @@ $o-form-label-margin-right: 0px;
746746
// Boolean
747747
.o_field_boolean {
748748
margin-right: $o-form-spacing-unit;
749+
max-width: 40px !important;
750+
padding-right: 0 !important;
749751
}
750752

751753
// Timezone widget warning

0 commit comments

Comments
 (0)