Skip to content

Commit

Permalink
Increase item cart height in mobile view (Fixes #8827) (#8846)
Browse files Browse the repository at this point in the history
  • Loading branch information
netchampfaris authored and nabinhait committed May 16, 2017
1 parent 7bf8103 commit 125996e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions erpnext/public/css/erpnext.css
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,11 @@ body[data-route="pos"] .item-cart-items {
border: 1px solid #d1d8dd;
border-top: none;
}
@media (max-width: 767px) {
body[data-route="pos"] .item-cart-items {
height: 30vh;
}
}
body[data-route="pos"] .no-items-message {
min-height: 200px;
display: flex;
Expand Down
4 changes: 4 additions & 0 deletions erpnext/public/less/erpnext.less
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,10 @@ body[data-route="pos"] {
overflow: auto;
border: 1px solid @border-color;
border-top: none;

@media (max-width: @screen-xs) {
height: 30vh;
}
}

.no-items-message {
Expand Down

0 comments on commit 125996e

Please sign in to comment.