diff --git a/static/src/css/pos.css b/static/src/css/pos.css index 9276402..cfdfc4d 100644 --- a/static/src/css/pos.css +++ b/static/src/css/pos.css @@ -1,7 +1,40 @@ -.ows-sidebar { width: 220px; } +.custompane { + display: flex; + flex-direction: column; + height: 100%; + overflow: hidden; +} + +.ows-sidebar { + flex: 1 1 auto; + width: 220px; + display: flex; + flex-direction: column; + overflow: hidden; +} + + .order-entry:hover { cursor: pointer; } .order-entry.selected { background-color: #007bff; color: white; } +.ows-customer-list { + flex: 1 1 auto; + overflow-y: auto; + min-height: 0; /* notwendig für Scrollbar */ +} + +.client-details-grid { + flex-shrink: 0; + max-height: 60%; + overflow-y: auto; + background: #fff; +} + +.pos *::-webkit-scrollbar { + width: 8px; + height:8px; +} + .sidebar-line { display: flex; justify-content: space-between;