[FIX] web: kanban_card border top
In commit `2495bfa7259dcbd482b10c95a55313f86d594fcb` we introduce a fix to adapt the kanban_card border using the border bottom of the prior kanban_card as a border top allowing to display the outline effect. This fix works for o_kanban_grouped but breaks the border in views that are o_kanban_ungrouped. This commit fixes this by removing the border-top only in the o_kanban_record that are o_kanban_grouped. The :not(o_dragged) has been added as well to bring back the border when the element is dragged. task-3488451 closes odoo/odoo#139453 X-original-commit: 2be67ee122546273d12710c1c9bc3b7e11533b5d Signed-off-by: Pierre Paridans (app) <app@odoo.com>
This commit is contained in:
@@ -78,10 +78,6 @@
|
||||
position: relative;
|
||||
min-width: 150px;
|
||||
|
||||
& ~ .o_kanban_record .oe_kanban_card {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
> div:not(.o_dropdown_kanban) {
|
||||
padding: var(--KanbanRecord-padding-v) var(--KanbanRecord-padding-h);
|
||||
width: 100%;
|
||||
@@ -488,6 +484,10 @@
|
||||
|
||||
.o_kanban_record {
|
||||
width: 100%;
|
||||
|
||||
& + .o_kanban_record:not(.o_dragged) .oe_kanban_card {
|
||||
border-top: none;
|
||||
}
|
||||
}
|
||||
|
||||
.o_kanban_group {
|
||||
|
||||
Reference in New Issue
Block a user