Skip to content

Commit

Permalink
[FIX] account: style account dashboard if groupby
Browse files Browse the repository at this point in the history
If we use a group by on the account dashboard, the kanban tiles have the
size of a normal kanban card so all graphs and so on are overlapping
which is a little ugly.

With this changeset, we have the same base width as in the non-grouped
view (which in the non grouped view may change with flex).

On {0,MD} screen size, we get in one column full width and ignore this.

opw-1964331
closes odoo#32659

Signed-off-by: Nicolas Lempereur (nle) <[email protected]>
  • Loading branch information
nle-odoo committed Apr 12, 2019
1 parent 33f1e5f commit a68412c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions addons/account/static/src/scss/account_journal_dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@
width: 450px;
}
}
.o_kanban_group {
&:not(.o_column_folded) {
width: 450px + 2*$o-kanban-group-padding;

@include media-breakpoint-down(sm) {
width: 100%;
}
}
}
}

// Style for the widget "dashboard_graph"
Expand Down

0 comments on commit a68412c

Please sign in to comment.