diff --git a/erpnext/public/css/website.css b/erpnext/public/css/website.css index 733194a10d..9ac9aacebd 100644 --- a/erpnext/public/css/website.css +++ b/erpnext/public/css/website.css @@ -182,7 +182,7 @@ display: none; } .cart-dropdown-container .checkout-btn { - padding-top: 25px; + padding-bottom: 25px; } .cart-dropdown-container .col-name-description { margin-bottom: 8px; diff --git a/erpnext/public/less/website.less b/erpnext/public/less/website.less index 25172a1ffb..14d033c7d7 100644 --- a/erpnext/public/less/website.less +++ b/erpnext/public/less/website.less @@ -235,7 +235,7 @@ } .checkout-btn { - padding-top:25px; + padding-bottom:25px; } .col-name-description { margin-bottom:8px; diff --git a/erpnext/templates/includes/cart/cart_dropdown.html b/erpnext/templates/includes/cart/cart_dropdown.html index de29b56fbe..38ad183916 100644 --- a/erpnext/templates/includes/cart/cart_dropdown.html +++ b/erpnext/templates/includes/cart/cart_dropdown.html @@ -1,6 +1,11 @@
+
+ +
{{ _("Item") }} @@ -11,11 +16,10 @@
{% if doc.items %} -
- {% include "templates/includes/cart/cart_items_dropdown.html" %} -
-
- {{ _("Checkout") }} +
+
+ {% include "templates/includes/cart/cart_items_dropdown.html" %} +
{% else %}

{{ _("Cart is Empty") }}

diff --git a/erpnext/templates/includes/order/order_macros.html b/erpnext/templates/includes/order/order_macros.html index e77b8b4801..c2dff8c1f1 100644 --- a/erpnext/templates/includes/order/order_macros.html +++ b/erpnext/templates/includes/order/order_macros.html @@ -22,7 +22,7 @@
- {{ d.item_code|truncate(25) }} + {{ d.item_name|truncate(25) }}