diff --git a/frappe/public/scss/page-builder.scss b/frappe/public/scss/page-builder.scss index f7a1be395c..a2908e3725 100644 --- a/frappe/public/scss/page-builder.scss +++ b/frappe/public/scss/page-builder.scss @@ -140,7 +140,7 @@ } } -.card { +.section-with-cards .card { @include transition(); &:hover { diff --git a/frappe/website/web_template/section_with_cards/section_with_cards.html b/frappe/website/web_template/section_with_cards/section_with_cards.html index 6a998dc6d4..647923c9b1 100644 --- a/frappe/website/web_template/section_with_cards/section_with_cards.html +++ b/frappe/website/web_template/section_with_cards/section_with_cards.html @@ -20,22 +20,24 @@ {%- endmacro -%} -{%- if title -%} -
{{ subtitle }}
-{%- endif -%} -{%- set card_size = card_size or 'Small' -%} -{{ subtitle }}
+ {%- endif -%} + {%- set card_size = card_size or 'Small' -%} +