From dedb01451a4a9949fbcc76b962c7789adcbc636b Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Tue, 29 Aug 2017 12:59:01 +0200 Subject: [PATCH] [REF] web: make sure entering list edition does not move elements Tested with enterprise new design. --- addons/web/static/src/less/list_view.less | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/addons/web/static/src/less/list_view.less b/addons/web/static/src/less/list_view.less index ce98efa5359..0f4827901cc 100644 --- a/addons/web/static/src/less/list_view.less +++ b/addons/web/static/src/less/list_view.less @@ -101,7 +101,7 @@ } .o_data_cell.o_invisible_modifier { - display: initial!important; // Override invisible to keep the cells aligned + display: table-cell!important; // Override invisible to keep the cells aligned } //-------------------------------------------------------------------------- @@ -109,7 +109,6 @@ //-------------------------------------------------------------------------- .o_data_row.o_selected_row > .o_data_cell:not(.o_readonly_modifier) { position: relative; - padding: 0; // Field widgets override > .o_field_widget { @@ -132,7 +131,7 @@ width: 16px; // to have some space on the right } .o_input { - padding: 4px; // bootstrap cell - 1px of border + padding: @table-condensed-cell-padding; background-color: white; .o_input { @@ -145,9 +144,8 @@ .o_field_monetary input { width: 0; } - .o_checkbox { - padding: 7px 0 0 5px; - background: transparent; + .o_field_boolean { + position: relative!important; } .o_field_widget { min-width: 0;