[FIX] *: correctly display grouped dashboard

The rev. odoo/odoo@93bf26a modifies the way kanban record defines their size.
Kanban dashboards used to define a fixed size and reset it when grouping.
This fixed size should in fact only be set for ungrouped kanban as the column
size is fixed.
This commit is contained in:
Martin Geubelle
2017-11-21 16:41:09 +01:00
parent 6b3fefcdbb
commit 0593fd8954
3 changed files with 7 additions and 9 deletions
@@ -1,6 +1,5 @@
.o_kanban_view.o_kanban_dashboard.o_account_kanban {
.o_kanban_record {
width: 450px;
.oe_kanban_action_button {
margin-bottom: 5px;
@@ -32,12 +31,13 @@
}
}
&.o_kanban_grouped .o_kanban_record {
min-width: inherit;
&.o_kanban_ungrouped {
.o_kanban_record {
width: 450px;
}
}
}
// Style for the widget "dashboard_graph"
.o_dashboard_graph {
&.o_graph_linechart {
@@ -1,4 +1,4 @@
.o_kanban_view.o_kanban_dashboard.o_maintenance_team_kanban {
.o_kanban_view.o_kanban_ungrouped.o_kanban_dashboard.o_maintenance_team_kanban {
.o_kanban_record {
width: 420px;
}
@@ -4,8 +4,6 @@
@sale-table-spacing: 10px;
.o_kanban_record {
width: 450px;
.o_sales_team_kanban_graph_section {
.o_graph_linechart {
> svg {
@@ -63,9 +61,9 @@
}
}
&.o_kanban_grouped {
&.o_kanban_ungrouped {
.o_kanban_record {
min-width: inherit;
width: 450px;
}
}
}