From 83903d0a90ca05ff87fb431a87c809d424e49933 Mon Sep 17 00:00:00 2001 From: "Chrysanthe (chgo)" Date: Thu, 20 Jul 2023 08:47:04 +0000 Subject: [PATCH] [FIX] web: add missing `gap` between PDF buttons === ISSUE === In some modules, there is a recurring layout issue with buttons being compressed. This is caused by a missing `gap` or `margin` and results in two main issues : 1/ It reduces the clickable zone of each button (you are more likely to click on its neighbor rather than the one you wanted) 2/ It does not look good and causes inconsistency with other buttons. === AFTER === We simply add a `d-flex` and a `gap-1` class to the container to be sure that no matter how many buttons are inside that
they will always be spaced correctly. task-3433602 part of task-3326263 closes odoo/odoo#129906 X-original-commit: 6fc57407478e79232e46c21e21981eeff419d884 Signed-off-by: Pierre Paridans (app) --- .../web/static/src/views/fields/pdf_viewer/pdf_viewer_field.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/views/fields/pdf_viewer/pdf_viewer_field.xml b/addons/web/static/src/views/fields/pdf_viewer/pdf_viewer_field.xml index dd29ee84f91..5a3ac2acd1b 100644 --- a/addons/web/static/src/views/fields/pdf_viewer/pdf_viewer_field.xml +++ b/addons/web/static/src/views/fields/pdf_viewer/pdf_viewer_field.xml @@ -3,7 +3,7 @@ -
+