[REF] web: use bootstrap class instead of css

Small code cleanup with using bootstrap class instead of custom css

task-3439226

Part-of: odoo/odoo#136375
This commit is contained in:
Romain Estievenart
2023-10-03 19:20:06 +00:00
parent 4e1ce46048
commit 6f63e2349c
2 changed files with 6 additions and 5 deletions
@@ -124,7 +124,12 @@ export const useNestedSortable = makeDraggableHook({
ctx.prevNestX = ctx.pointer.x;
}
ctx.current.placeHolder = ctx.current.element.cloneNode(false);
ctx.current.placeHolder.classList.add("o_nested_sortable_placeholder");
ctx.current.placeHolder.classList.add(
"o_nested_sortable_placeholder",
"w-100",
"d-block",
"py-0"
);
addCleanup(() => ctx.current.placeHolder.remove());
},
@@ -1,9 +1,5 @@
.o_nested_sortable_placeholder {
background-clip: content-box;
background-color: deepskyblue;
display: block;
height: 5px;
padding-top: 0 !important;
padding-bottom: 0 !important;
width: 100%;
}