[enhancement] Item Selector
diff --git a/erpnext/public/less/erpnext.less b/erpnext/public/less/erpnext.less
index 813a567..29d1533 100644
--- a/erpnext/public/less/erpnext.less
+++ b/erpnext/public/less/erpnext.less
@@ -16,20 +16,23 @@
}
/* pos */
-.pos {
+
+.pos-item-area {
+ padding: 0px 10px;
+}
+
+.pos-item-wrapper {
+ padding: 5px;
}
.pos-item {
- display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
cursor: pointer;
padding: 5px;
- height: 0px;
- padding-bottom: 38%;
- width: 30%;
- margin: 1.6%;
+ padding-bottom: 15px;
border: 1px solid #d1d8dd;
+ margin-bottom: 5px;
}
.pos-item-text {
@@ -46,7 +49,13 @@
}
.pos-item-image {
- padding-bottom: 100%;
+ width: 100%;
+ height: 0px;
+ padding: 50% 0;
+ text-align: center;
+ line-height: 0;
+ color: #fff;
+ font-size: 30px;
background-size: cover;
border: 1px solid transparent;
background-position: top center;
@@ -130,7 +139,7 @@
.discount-field-col {
padding-left: 0px;
}
-
+
.input-group {
margin-top: 2px;
}