diff options
| author | Jason Van Malder <jvm@odoo.com> | 2020-01-08 12:57:51 +0000 |
|---|---|---|
| committer | Jason Van Malder <jvm@odoo.com> | 2020-01-14 08:28:27 +0000 |
| commit | d75859691135b1938e59893ea27a623b77405763 (patch) | |
| tree | 2707c843c1aa15faef2c6b91921f05d883559850 /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | 8e37757230331aadaf007b04c60c3db789cc6881 (diff) | |
[FIX] sale, web: fix product quantity display in ecommerce
Issue
- Install eCommerce
- Select Zap theme
- Go on a product in the shop
The quantity is hidden behind the buttons
The quantity height is not the same than the buttons
Cause
By default, there is a max width of 125px on the div containing
the buttons and the quantity label. As this theme increase the
button size, the quantity is hidden.
The quantity label has `.form-control` class who override
his height, so it's not using flex anymore.
More details from QSM in design-themes closed PR #199:
Bootstrap is not correct about input-group form-control height
-> bootstrap_review.scss fix for the height of input-group
form-controls
Our max-width on css_quantity is not right, it should be a
max-width on the internal input
Solution
Restore the initial height in bootstrap_review for input-group form
control
Set the max-width only on the internal input.
OPW-2166311
closes odoo/odoo#43099
X-original-commit: 81e06ec43fdf90758556a654cedd75001ff654c1
Signed-off-by: Jason Van Malder <jvm-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
