diff options
| author | qsm-odoo <qsm@odoo.com> | 2015-09-21 10:59:00 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2015-09-21 13:58:15 +0200 |
| commit | 85b1021fc7aae392681ae793ecf3d91193b1b99a (patch) | |
| tree | 218dceec2bab015a6a2ab260d8b9e6f6b237d265 /addons/project/static/src/less/project_dashboard.less | |
| parent | e8b57c1457786e31b7450816cbd8473f80bb2c91 (diff) | |
[FIX] project: dashboard button alignment
Flex 0 0 x% layout is broken if content is larger than x% with nowrap
white-space property. Solution is to change in flex 0 0 auto and force
width to x% thanks to the width property.
Also: was always a problem on firefox windows.
Diffstat (limited to 'addons/project/static/src/less/project_dashboard.less')
| -rw-r--r-- | addons/project/static/src/less/project_dashboard.less | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/project/static/src/less/project_dashboard.less b/addons/project/static/src/less/project_dashboard.less index ef963f4b9ee..c46262d7dc9 100644 --- a/addons/project/static/src/less/project_dashboard.less +++ b/addons/project/static/src/less/project_dashboard.less @@ -29,7 +29,8 @@ } .o_project_kanban_boxes { - .o-flex(0, 0, 30%); + width: 30%; + .o-flex(0, 0, auto); .o-flex-display(); .o-flex-flow(column, nowrap); |
