diff --git a/erpnext/public/css/erpnext.css b/erpnext/public/css/erpnext.css index b8d51c02bd..d67f9e0731 100644 --- a/erpnext/public/css/erpnext.css +++ b/erpnext/public/css/erpnext.css @@ -46,9 +46,10 @@ line-height: 0; color: #d1d8dd; font-size: 30px; - background-size: cover; + background-size: contain; border: 1px solid transparent; - background-position: top center; + background-position: center; + background-repeat: no-repeat; } .pos-item-area { border: 1px solid #d1d8dd; diff --git a/erpnext/public/less/erpnext.less b/erpnext/public/less/erpnext.less index 896aee79d9..d39f92497f 100644 --- a/erpnext/public/less/erpnext.less +++ b/erpnext/public/less/erpnext.less @@ -58,9 +58,10 @@ line-height: 0; color: @text-extra-muted; font-size: 30px; - background-size: cover; + background-size: contain; border: 1px solid transparent; - background-position: top center; + background-position: center; + background-repeat: no-repeat; } .pos-item-area {