From ea5c7b888cb0be34543d2472e2df7eff1b55d6ea Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Mon, 8 Jun 2020 16:07:30 +0530 Subject: [PATCH] fix: Minor classname change --- frappe/public/scss/page-builder.scss | 4 ++-- .../section_with_image_grid/section_with_image_grid.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frappe/public/scss/page-builder.scss b/frappe/public/scss/page-builder.scss index cda0674af8..0e910ebc6b 100644 --- a/frappe/public/scss/page-builder.scss +++ b/frappe/public/scss/page-builder.scss @@ -283,7 +283,7 @@ margin-top: 2rem; } -.image-grid { +.section-image-grid { display: flex; flex-wrap: wrap; width: 100%; @@ -331,4 +331,4 @@ } } } -} \ No newline at end of file +} 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..da45494ed8 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 @@ -2,7 +2,7 @@

{{ title }}

{{ subtitle }}

-
+
{%- for index in ['1', '2', '3', '4'] -%} {%- set image = values['image_' + index ] -%} {%- set class = "narrow" if index in ['1', '4'] else "wide" -%} @@ -15,4 +15,4 @@ {%- endif -%} {%- endfor -%}
-
\ No newline at end of file +