From a0c44f9db756058f5abffbaa74dd469074b197f9 Mon Sep 17 00:00:00 2001 From: Julien Mougenot Date: Mon, 14 Oct 2019 11:09:38 +0000 Subject: [PATCH] [FIX] account: removed horizontal scrollbar in lists Before this commit, lists having a section or a note would have a horizontal scrollbar in readonly mode. Now it has been removed and the list stretches properly according to its parent size. Task 2086594 closes odoo/odoo#39301 X-original-commit: cbe26b3a3ac5ef3d79695cf44874e01087a35ef9 Signed-off-by: Aaron Bohy (aab) --- .../static/src/scss/section_and_note_backend.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/addons/account/static/src/scss/section_and_note_backend.scss b/addons/account/static/src/scss/section_and_note_backend.scss index 766ea6ac657..93ce4dfdcb1 100644 --- a/addons/account/static/src/scss/section_and_note_backend.scss +++ b/addons/account/static/src/scss/section_and_note_backend.scss @@ -16,3 +16,14 @@ table.o_section_and_note_list_view tr.o_data_row.o_is_line_section { border-top: 1px solid #BBB; border-bottom: 1px solid #BBB; } + +table.o_section_and_note_list_view tr.o_data_row { + &.o_is_line_note, + &.o_is_line_section { + td { + // There is an undeterministic CSS behaviour in Chrome related to + // the combination of the row's and its children's borders. + border: none !important; + } + } +}