diff options
| author | fw-bot <otis@odoo.com> | 2019-11-15 14:26:48 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-11-18 15:52:03 +0000 |
| commit | cf4a6cbdec3919a0b75b3ad2ea269eaecce80c0e (patch) | |
| tree | f37eb4a3ad5fc40bad403b2e860e8b5bad29d601 | |
| parent | 70c370b01ecfdeab51611e09d6efeec683833887 (diff) | |
[FIX] web: fix kanban "group by stage" wrong display
Reproduce the issue
- Install Projects and Studio
- Edit the projects app's kanban view
- Enable group by stage
- Close studio
- Add several stages
The stages are wrapped to the next line
Cause
I think the problem comes from c5f6802, we apply a wrapping to
all the kanban_dashboard items and in this cases the items are
the stages.
This commits apply the wrap only on non-grouped kanban dashboard.
OPW-2123031
closes odoo/odoo#40449
X-original-commit: f40478d5bacfdc44c76b0aac2f749549bbc58681
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
| -rw-r--r-- | addons/web/static/src/scss/kanban_dashboard.scss | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/addons/web/static/src/scss/kanban_dashboard.scss b/addons/web/static/src/scss/kanban_dashboard.scss index 339d62671bd..174f1d62890 100644 --- a/addons/web/static/src/scss/kanban_dashboard.scss +++ b/addons/web/static/src/scss/kanban_dashboard.scss @@ -1,7 +1,9 @@ .o_kanban_view.o_kanban_dashboard { - // correctly display the no_content_helper in dashboards - flex-flow: row wrap; + &:not(.o_kanban_grouped) { + // correctly display the no_content_helper in dashboards + flex-flow: row wrap; + } .o_kanban_record { position: relative; |
