From c0bbd2fc241c9af9f6782f8ee1eec18f9c946c7e Mon Sep 17 00:00:00 2001 From: jbm-odoo Date: Mon, 14 Oct 2019 11:27:16 +0000 Subject: [PATCH] [FIX] web: Kanban height with few element and searchpanel Before this commit: When there few elements in kanban and a search panel, all kanban cards try to take a maximum of height and become deformed. After this commit: The behaviour of dimensions of kanban cards must be the same with or without searchpanel. closes #38556 closes odoo/odoo#38871 X-original-commit: a95cbbd631a2fa9be62eb42cba43e853fdf4b789 Signed-off-by: jbm-odoo --- addons/web/static/src/scss/search_panel.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/scss/search_panel.scss b/addons/web/static/src/scss/search_panel.scss index 0f45a14ac5a..0c7b2266a25 100644 --- a/addons/web/static/src/scss/search_panel.scss +++ b/addons/web/static/src/scss/search_panel.scss @@ -14,7 +14,7 @@ $o-searchpanel-filter-default-color: #D59244; .o_renderer_with_searchpanel { flex: 1 1 100%; overflow: auto; // make the renderer and search panel scroll individually - height: 100%; + max-height: 100%; } .o_search_panel { flex: 0 0 220px;