[REV] "[FIX] web: fix rating kanban card layout"

This reverts commit 715ef9fc2684dc875cf82ee312f20575ed42f94d.

Purpose of commit above was to fix an issue in kanban view
CSS introduced by 7ecae33571

This commit, however broke more kanban views. This happened
because the original commit changed a CSS rule with flex, and
commit above attempted to fix the issue by turning problematic
UI elements to their flex equivalence.

This change is too broad and unsafe, so the better decision is
to revert them.

Task-Id 2237638

X-original-commit: 6badf3839147c0b9a475247699227ed304bd402d
This commit is contained in:
Alexandre Kühn
2020-04-30 13:27:24 +00:00
parent 1828d6db0d
commit 93e8435890
+5 -5
View File
@@ -45,7 +45,7 @@
.o_kanban_record {
position: relative;
display: flex;
display: inline-block; // Force the creation of a block formatting context to clear float items
border-color: gray('400');
min-width: 150px;
margin: 0 0 -1px;
@@ -342,19 +342,19 @@
}
.o_kanban_image {
float: left;
width: $o-kanban-image-width;
flex-shrink: 0;
+ div {
padding-left: $o-kanban-inside-hgutter;
padding-left: $o-kanban-image-width + $o-kanban-inside-hgutter;
@include media-breakpoint-down(sm) {
padding-left: $o-kanban-inside-hgutter-mobile;
padding-left: $o-kanban-image-width + $o-kanban-inside-hgutter-mobile;
}
}
}
.oe_kanban_details {
display: flex;
display: inherit;
flex-flow: column;
width: 100%;