From 83b138c1657c8981805f9c2b23db08e80dd9f481 Mon Sep 17 00:00:00 2001 From: "Chrysanthe (chgo)" Date: Tue, 6 Jun 2023 09:03:07 +0000 Subject: [PATCH] [FIX] account: search panel size MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit === ISSUE === If you navigate to Accounting > Accounting > Journal items and click on an item in the sidebar, there is an issue with longer number being hidden by the sidebar. This is mostly due to the fact that the font-size is now 14px instead of 13. === AFTER === We simply move the panel width from 50px to 54px. This is calculated based on the width of `.o_search_panel_category_value` with a `.o_treeEntry` class (41.12px) + the 6px `padding` from `.o_search_panel` with a `.account_root` class, so 42px + 12px. task-3354841 part of task-3326263 closes odoo/odoo#124434 X-original-commit: 3981dc3054dbf47b01825bf9d1fc229dce6dfba7 Signed-off-by: William André (wan) --- addons/account/static/src/scss/account_searchpanel.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/static/src/scss/account_searchpanel.scss b/addons/account/static/src/scss/account_searchpanel.scss index be902ed881d..78910fc2130 100644 --- a/addons/account/static/src/scss/account_searchpanel.scss +++ b/addons/account/static/src/scss/account_searchpanel.scss @@ -1,5 +1,5 @@ .o_search_panel.account_root { - flex: 0 0 50px; + flex: 0 0 54px; padding: 6px !important; // need to override bootstrap ps-4 rule scrollbar-width: thin; .o_search_panel_section_header {