From a05f93e46c07c8fdd6cb636153f9472c4d76de71 Mon Sep 17 00:00:00 2001 From: dhrp-odoo Date: Wed, 20 Dec 2023 10:38:26 +0530 Subject: [PATCH] [FIX] spreadsheet_dashboard: multi-record selector dropdown styling Previously, the multi-record selector dropdown occupied an entire line. This commit addresses this issue by applying the `flex: 1 0 1rem;` property to the auto-complete dropdown. This adjustment confines the dropdown to the necessary space. If the space available is less than 1rem, it will wrap to a new line. Task ID: 3607067 closes odoo/odoo#146919 Related: odoo/enterprise#53071 Signed-off-by: Pierre Rousseau (pro) --- .../static/src/bundle/dashboard_action/dashboard_action.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons/spreadsheet_dashboard/static/src/bundle/dashboard_action/dashboard_action.scss b/addons/spreadsheet_dashboard/static/src/bundle/dashboard_action/dashboard_action.scss index 520ef4dfd95..c27d9b273ca 100644 --- a/addons/spreadsheet_dashboard/static/src/bundle/dashboard_action/dashboard_action.scss +++ b/addons/spreadsheet_dashboard/static/src/bundle/dashboard_action/dashboard_action.scss @@ -72,6 +72,10 @@ .o_multi_record_selector { width: 100%; + + .o_input{ + flex: 1 0 1rem; + } } }