diff options
| author | Adrien Widart <awt@odoo.com> | 2020-12-15 08:13:18 +0000 |
|---|---|---|
| committer | Adrien Widart <awt@odoo.com> | 2020-12-15 08:23:20 +0000 |
| commit | 06f15401a6f30648cddffdd07b765c6cb96fcf99 (patch) | |
| tree | 3bf27eb3df775311e8974f6665c5add5dd07d156 /addons/point_of_sale/static/src/css | |
| parent | b226f07628618aac6ada0ffce736e29cb1cdc550 (diff) | |
[FIX] point_of_sale: list 5 payment methods
If a POS has more than 5 payment methods, the display is not correct:
the list is full width when it should be on left (as long as the screen
is large enough).
This fix ensures the display is the same as the previous version,
see (from v13):
https://github.com/odoo/odoo/blob/732ba5ca51e628b9d9a7427acd30d01d83e85068/addons/point_of_sale/static/src/css/pos.css#L1213-L1215
So, if the screen is larger than 768px, the width of the list will be
limited to 34% of the display area.
OPW-2400629
closes odoo/odoo#63363
Signed-off-by: adwid <adwid@users.noreply.github.com>
Diffstat (limited to 'addons/point_of_sale/static/src/css')
| -rw-r--r-- | addons/point_of_sale/static/src/css/pos.css | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/point_of_sale/static/src/css/pos.css b/addons/point_of_sale/static/src/css/pos.css index 723b69b00b8..6853fce5d8c 100644 --- a/addons/point_of_sale/static/src/css/pos.css +++ b/addons/point_of_sale/static/src/css/pos.css @@ -1349,6 +1349,12 @@ td { flex-direction: column; } +@media screen and (min-width: 768px) { + .screen .left-content { + max-width: 34% + } +} + .pos .btn-switch-payment { background-color: #6ec89b; border-radius: 0px; |
