From dd81906290b0be27f35076dab693b81ca9aa133e Mon Sep 17 00:00:00 2001 From: "Cuong, Nguyen Minh Tran Manh" Date: Fri, 12 Jan 2024 19:35:12 +0700 Subject: [PATCH] [IMP] web_remember_tree_column_width: adjust SCSS selector Previously, only columns with the class o_column_sortable had the custom SCSS applied to them. As a result, columns like HTML were not sortable and didn't benefit from the custom SCSS. This commit made changes to the SCSS selector to include all table's columns in the list view. However, the record selector (the first checkbox column) and the column optional (the last column) that have the class o_list_controller were excluded to avoid unexpected behavior. --- web_remember_tree_column_width/static/src/scss/main.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_remember_tree_column_width/static/src/scss/main.scss b/web_remember_tree_column_width/static/src/scss/main.scss index 07b5aa024fbc..ebf6a249135e 100644 --- a/web_remember_tree_column_width/static/src/scss/main.scss +++ b/web_remember_tree_column_width/static/src/scss/main.scss @@ -1,4 +1,4 @@ -th.o_column_sortable { +div.o_list_renderer > table.o_list_table th:not(.o_list_controller) { max-width: none !important; min-width: 0 !important; }