[REF] web: adjust kanban dashboards layout

Crop long texts avoiding issues with <a> tags.
Use flex to align cards' content in order to place the latest block
at the end of the card.
This commit is contained in:
qsm-odoo
2017-09-15 15:04:52 +02:00
parent 2edcd1cdc0
commit a8e7d096b8
@@ -180,11 +180,25 @@
}
.o_kanban_card_header + .container.o_kanban_card_content {
.o-flex(1, 0, auto);
.o-flex-display();
.o-flex-flow(column, nowrap);
.o-justify-content(space-between);
margin-top: @o-kanban-dashboard-vpadding * 2;
padding-right: 0;
padding-left: 0;
&::before, &::after {
content: normal; // so that space-between works
}
a {
position: relative;
.o-text-overflow(inline-block);
}
.o_kanban_primary_bottom {
margin-top: @o-kanban-dashboard-vpadding;
margin-bottom: -@o-kanban-dashboard-vpadding;
&.bottom_block {