From 2495bfa7259dcbd482b10c95a55313f86d594fcb Mon Sep 17 00:00:00 2001 From: mano-odoo Date: Fri, 1 Sep 2023 09:49:22 +0200 Subject: [PATCH] [FIX] web: kanban card focus outline bottom The kanban card do not display their outline on the bottom side of the card. This is due to a negative margin (used to compensate for the border bottom of the card). This commit removes the border top if the kanban_record as a prior kanban_record sibling, using its sibling border_bottom as its border top and getting rid of the negative margin. task-3488451 closes odoo/odoo#138772 X-original-commit: bf89d4ec951c77f5c7a01ccbad5edf0f7110f706 Signed-off-by: Pierre Paridans (app) --- addons/web/static/src/views/kanban/kanban_controller.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/addons/web/static/src/views/kanban/kanban_controller.scss b/addons/web/static/src/views/kanban/kanban_controller.scss index bf637c4eb38..330d5001321 100644 --- a/addons/web/static/src/views/kanban/kanban_controller.scss +++ b/addons/web/static/src/views/kanban/kanban_controller.scss @@ -77,7 +77,10 @@ .o_kanban_record { position: relative; min-width: 150px; - margin: 0 0 (-$border-width); + + & ~ .o_kanban_record .oe_kanban_card { + border-top: none; + } > div:not(.o_dropdown_kanban) { padding: var(--KanbanRecord-padding-v) var(--KanbanRecord-padding-h);