From e05b0e9dfca6aeec8b376dd7eb0f98dbec1dcce4 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Mon, 8 Jun 2020 16:05:05 +0530 Subject: [PATCH] refactor: better class naming --- frappe/public/scss/page-builder.scss | 2 +- .../section_with_image_grid/section_with_image_grid.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/public/scss/page-builder.scss b/frappe/public/scss/page-builder.scss index cda0674af8..d84db831f8 100644 --- a/frappe/public/scss/page-builder.scss +++ b/frappe/public/scss/page-builder.scss @@ -292,7 +292,7 @@ margin-right: -2px; margin-left: -2px; - .grid-image { + .image-container { overflow: hidden; border: 2px solid #fff; border-radius: $border-radius; diff --git a/frappe/website/web_template/section_with_image_grid/section_with_image_grid.html b/frappe/website/web_template/section_with_image_grid/section_with_image_grid.html index f60c0e0756..d4320bda39 100644 --- a/frappe/website/web_template/section_with_image_grid/section_with_image_grid.html +++ b/frappe/website/web_template/section_with_image_grid/section_with_image_grid.html @@ -7,7 +7,7 @@ {%- set image = values['image_' + index ] -%} {%- set class = "narrow" if index in ['1', '4'] else "wide" -%} {%- if image -%} -
+
{{ frappe.render_template('templates/includes/image_with_blur.html', { "src": image }) }}