Skip to content
Permalink
Browse files

[FIX] point_of_sale: buttons pushed out of view

Before this commit, in a session with too many open orders the buttons
in the upper right corner, next to the 'delete order button', i.e., the
print button, the connection status, the print button and the close
button, will be pushed out of view. This makes it impossible to check
out, to print, etc., without closing orders.

Now, a scrollbar appears when to many open order and allows to see the
buttons in the right upper corner.

opw-2064409
  • Loading branch information...
jpp-odoo committed Sep 11, 2019
1 parent 2a16935 commit 3a38a3eaca74e3cde814158a9cb2846b3ed176a8
Showing with 3 additions and 4 deletions.
  1. +3 −4 addons/point_of_sale/static/src/css/pos.css
@@ -357,6 +357,9 @@ td {
height:100%;
display: -webkit-flex;
display: flex;
overflow : hidden;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.pos .pos-rightheader > * {
border-right: 1px solid #292929;
@@ -437,17 +440,13 @@ td {
display: flex;
-webkit-flex: 1;
flex: 1;
max-width: -moz-available;
max-width: -webkit-fill-available;
}
.pos .orders {
display: -webkit-flex;
display: flex;
vertical-align: top;
margin-left: 0px;
overflow: hidden;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}

/* c) The session buttons */

0 comments on commit 3a38a3e

Please sign in to comment.
You can’t perform that action at this time.