From d70da05100c55526ff68020bf1824beba560ddea Mon Sep 17 00:00:00 2001 From: Elisabeth Dickinson Date: Tue, 30 May 2023 12:35:00 +0000 Subject: [PATCH] [FIX] spreadsheet_dashboard: fix lost margins on dropdowns MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit During the Milk revamp, the dropdown items in the Dashboard's header lost their horizontal margins. These have been put back by setting a gap property to the parent. When in the dashboard view under Sales > Product, the dropdowns had an awkward spacing between them despite the fix. Another fix was to set `w-100` to the `.o_field_tags` element. And finally a `.gap-1` is also added to the latter to give its children some space when multiple tags are selected. It was noticed that some CSS, specifically the `.o-filter-value` class, was not targeting anything. This has been fixed by moving the selector into its correct parent element. task-3326566 part of task-3326263 closes odoo/odoo#127010 X-original-commit: bd456bc89f896de6b3d8c040706dc02ab3799e6e Signed-off-by: Lucas Lefèvre (lul) --- .../components/records_selector/records_selector.xml | 2 +- .../src/bundle/dashboard_action/dashboard_action.scss | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/addons/spreadsheet/static/src/global_filters/components/records_selector/records_selector.xml b/addons/spreadsheet/static/src/global_filters/components/records_selector/records_selector.xml index fbaf357baae..f485469f7a5 100644 --- a/addons/spreadsheet/static/src/global_filters/components/records_selector/records_selector.xml +++ b/addons/spreadsheet/static/src/global_filters/components/records_selector/records_selector.xml @@ -1,7 +1,7 @@
-
+