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 -%} -