From 1c864159f22c6c4ce05ae34daab0f5c6ce80d53a Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 25 May 2022 12:38:29 +0530 Subject: [PATCH] fix(minor): remove top margins for headings on standard templates --- frappe/website/doctype/web_form/templates/web_form.html | 2 +- .../web_template/section_with_cards/section_with_cards.html | 2 +- .../website/web_template/section_with_cta/section_with_cta.html | 2 +- .../section_with_features/section_with_features.html | 2 +- .../web_template/section_with_videos/section_with_videos.html | 2 +- .../split_section_with_image/split_section_with_image.html | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frappe/website/doctype/web_form/templates/web_form.html b/frappe/website/doctype/web_form/templates/web_form.html index 7dd532421d..96072a19ea 100644 --- a/frappe/website/doctype/web_form/templates/web_form.html +++ b/frappe/website/doctype/web_form/templates/web_form.html @@ -22,7 +22,7 @@ data-web-form="{{ name }}" data-web-form-doctype="{{ doc_type }}" data-login-req {% if is_list %}
-

{{ _(title) }}

+

{{ _(title) }}

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 d0eb164288..b5577795a8 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 @@ -18,7 +18,7 @@ }) }} {%- endif -%}
-

{{ title or '' }}

+

{{ title or '' }}

{{ content or '' }}

diff --git a/frappe/website/web_template/section_with_cta/section_with_cta.html b/frappe/website/web_template/section_with_cta/section_with_cta.html index 4015c05517..80924d9396 100644 --- a/frappe/website/web_template/section_with_cta/section_with_cta.html +++ b/frappe/website/web_template/section_with_cta/section_with_cta.html @@ -1,6 +1,6 @@
-

{{ title }}

+

{{ title }}

{%- if subtitle -%}

{{ subtitle }}

{%- endif -%} diff --git a/frappe/website/web_template/section_with_features/section_with_features.html b/frappe/website/web_template/section_with_features/section_with_features.html index b8cc3c2b90..b97106e32b 100644 --- a/frappe/website/web_template/section_with_features/section_with_features.html +++ b/frappe/website/web_template/section_with_features/section_with_features.html @@ -15,7 +15,7 @@ Icon for {{ feature.title }} {%- endif -%} {%- if feature.title -%} -

{{ feature.title }}

+

{{ feature.title }}

{%- endif -%} {%- if feature.content -%}

{{ frappe.utils.md_to_html(feature.content) }}

diff --git a/frappe/website/web_template/section_with_videos/section_with_videos.html b/frappe/website/web_template/section_with_videos/section_with_videos.html index 30bea5dead..304f77993c 100644 --- a/frappe/website/web_template/section_with_videos/section_with_videos.html +++ b/frappe/website/web_template/section_with_videos/section_with_videos.html @@ -13,7 +13,7 @@
{%- if video.title -%} -

{{ video.title }}

+

{{ video.title }}

{%- endif -%} {%- if video.content -%}

{{ video.content }}

diff --git a/frappe/website/web_template/split_section_with_image/split_section_with_image.html b/frappe/website/web_template/split_section_with_image/split_section_with_image.html index 5ebeef3912..ced68ccf0a 100644 --- a/frappe/website/web_template/split_section_with_image/split_section_with_image.html +++ b/frappe/website/web_template/split_section_with_image/split_section_with_image.html @@ -15,7 +15,7 @@
{%- endif -%}
-

{{ title }}

+

{{ title }}

{%- if content -%}

{{ content }}

{%- endif -%}