From 47de788cbb1842dd26656513e24f31020d8ac044 Mon Sep 17 00:00:00 2001 From: Adrien Dieudonne Date: Tue, 26 Jun 2018 12:09:30 +0200 Subject: [FIX] web: amount on bank.statement not displayed in mobile Before this commit, it was not possible to add an amount to a new bank statement. The input (.o_form_field_monetary) appeared as disabled. This bug was due to this commit: @a1224f5ca This rule should be only applied to .o_form_field_radio. Closes #18887 Task ID: 35832 --- addons/web/static/src/less/form_view_layout.less | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'addons/web/static/src') diff --git a/addons/web/static/src/less/form_view_layout.less b/addons/web/static/src/less/form_view_layout.less index 2ef50e763f5..7b5a832676d 100644 --- a/addons/web/static/src/less/form_view_layout.less +++ b/addons/web/static/src/less/form_view_layout.less @@ -168,9 +168,7 @@ // Flex fields .o_form_field_many2one, .o_form_field_radio, .o_form_field_many2manytags, .o_form_field_percent_pie, .o_form_field_monetary, .o_form_field_binary_file { - @media (min-width: @screen-sm-min) { .o-inline-flex-display(); - } > span, > button { .o-flex(0, 0, auto); } @@ -206,6 +204,9 @@ // Radio buttons .o_form_field_radio { + @media (max-width: @screen-xs-max) { + display: inline-block; + } .o_radio_item { .o-flex(0, 0, auto); .o-flex-display(); -- cgit v1.2.3