summaryrefslogtreecommitdiff
path: root/addons/pos_hr
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2020-01-31 13:08:42 +0000
committerPierre Masereel <pim@odoo.com>2020-06-10 17:54:54 +0000
commit09cfde14bd086bd190a8c34a157557fa363d0438 (patch)
tree98ea6bbc36839a8b4c97a0c47f9892db97bfcbd5 /addons/pos_hr
parent152b3464c0342d9b59279ca0a454b84715c6c2b8 (diff)
[IMP] point_of_sale: responsive UI
The point of sale user interface has been adapted to work on mobile devices. We modified the design of payment lines to look like payment methods and stack them together in the mobile view. When you had a cash method, the amount was not preffilled during payment, now we always prefill the amount to keep it more simple. closes odoo/odoo#51891 Task-id: 1887609 Related: odoo/upgrade#1334 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/pos_hr')
-rw-r--r--addons/pos_hr/static/src/css/pos.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/pos_hr/static/src/css/pos.css b/addons/pos_hr/static/src/css/pos.css
index 84b66fe9554..aa0bae46af6 100644
--- a/addons/pos_hr/static/src/css/pos.css
+++ b/addons/pos_hr/static/src/css/pos.css
@@ -25,7 +25,8 @@
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
margin: auto;
- width:550px;
+ max-width: 550px;
+ width:100%;
height:300px;
text-align:center;
font-size:20px;