From 1d73afc539e68f35ad7d5607e3e867802b0fd445 Mon Sep 17 00:00:00 2001 From: Summayya Date: Mon, 3 Jan 2022 09:19:02 +0530 Subject: [PATCH] fix: add icon for empty list state --- frappe/public/scss/website/index.scss | 4 ++++ frappe/templates/includes/list/list.html | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/frappe/public/scss/website/index.scss b/frappe/public/scss/website/index.scss index 675243209c..69a7b205c4 100644 --- a/frappe/public/scss/website/index.scss +++ b/frappe/public/scss/website/index.scss @@ -310,3 +310,7 @@ h5.modal-title { margin: 70px auto; font-size: $font-size-sm; } + +.empty-list-icon { + height: 70px; +} \ No newline at end of file diff --git a/frappe/templates/includes/list/list.html b/frappe/templates/includes/list/list.html index fba5f20ed5..14769ccf93 100644 --- a/frappe/templates/includes/list/list.html +++ b/frappe/templates/includes/list/list.html @@ -2,8 +2,9 @@

{{ sub_title }}

{% endif %} {% if not result -%} -
- {{ no_result_message or _("Nothing to show") }} +
+ +
{{ no_result_message or _("Nothing to show") }}
{% else %}