[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) <app@odoo.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user