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/payment/static | |
| 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/payment/static')
| -rw-r--r-- | addons/payment/static/src/less/payment_acquirer.less | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/addons/payment/static/src/less/payment_acquirer.less b/addons/payment/static/src/less/payment_acquirer.less index 59cf10440da..43c7f23511a 100644 --- a/addons/payment/static/src/less/payment_acquirer.less +++ b/addons/payment/static/src/less/payment_acquirer.less @@ -1,9 +1,8 @@ .o_kanban_view.o_kanban_payment_acquirer { &.o_kanban_ungrouped { .o_kanban_record { - @media (min-width: @screen-sm-min) { - min-width: 500px; - } + width: 500px; + .o_kanban_image { float: right; @@ -59,4 +58,4 @@ .o_warning_text { color: #f0ad4e; } -}
\ No newline at end of file +} |
