diff --git a/addons/web/static/src/scss/form_view.scss b/addons/web/static/src/scss/form_view.scss index 8b20a0c7927..b0419de7b29 100644 --- a/addons/web/static/src/scss/form_view.scss +++ b/addons/web/static/src/scss/form_view.scss @@ -577,14 +577,16 @@ $o-form-label-margin-right: 0px; } } - :not(.o_row):not(.o_data_cell) > .o_field_widget, - .o_row > .o_field_widget:last-child { // Note: this does not take care - // of an invisible last-child but - // it does not really matter - // Makes extra buttons (e.g. m2o external button) overflow on the - // right padding of the parent element - .o_input_dropdown { - flex: 1 0 auto; + @include media-breakpoint-up(sm) { + :not(.o_row):not(.o_data_cell) > .o_field_widget, + .o_row > .o_field_widget:last-child { // Note: this does not take care + // of an invisible last-child but + // it does not really matter + // Makes extra buttons (e.g. m2o external button) overflow on the + // right padding of the parent element + .o_input_dropdown { + flex: 1 0 auto; + } } }