diff options
| author | qsm-odoo <qsm@odoo.com> | 2017-09-20 15:17:12 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2017-09-20 16:57:50 +0200 |
| commit | 93bf26abc1cb8bab70bfbdb77c3118dc18e57836 (patch) | |
| tree | b7d6e8b01a407b597c76686d53109f0bd8b0f7b9 /addons/maintenance/static/src | |
| parent | 9d2e8253401885dae857c1848a7717f93cfbe237 (diff) | |
[FIX] web, *: review kanban record sizes
* account, maintenance, mrp, payment, point_of_sale, sales_team
Previous system was:
- `flex: 1 1 300px;` on kanban records
- If a specific record needs a different size, add custom style to
either change the `flex` rule or set a `min-width` for >=SM screens
Now:
- `flex: 1 1 auto;` and `width: 300px;` on kanban records
- If a specific record needs a different size, add custom style to
change the `width` rule.
This allows some standardization of the way to customize the suited
width and also allow lesser LESS code (as the previous version required
either the use of the flex mixin or the use of a media query).
Note:
- Also remove useless app record rule
- Also fix MRP Work Centers record width
Note2:
This system should be improved for version 12.0.
Diffstat (limited to 'addons/maintenance/static/src')
| -rw-r--r-- | addons/maintenance/static/src/less/maintenance_team_dashboard.less | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/addons/maintenance/static/src/less/maintenance_team_dashboard.less b/addons/maintenance/static/src/less/maintenance_team_dashboard.less index 3f895d47b8f..69fd9116ec9 100644 --- a/addons/maintenance/static/src/less/maintenance_team_dashboard.less +++ b/addons/maintenance/static/src/less/maintenance_team_dashboard.less @@ -1,7 +1,5 @@ .o_kanban_view.o_kanban_dashboard.o_maintenance_team_kanban { .o_kanban_record { - @media (min-width: @screen-sm-min) { - min-width: 420px; - } + width: 420px; } } |
