Merge pull request #16988 from rmehta/minor-heading-style-fixes

fix(minor): remove top margins for headings on standard templates
This commit is contained in:
Rushabh Mehta 2022-05-25 12:39:13 +05:30 committed by GitHub
commit a2baaa8b01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View file

@ -22,7 +22,7 @@ data-web-form="{{ name }}" data-web-form-doctype="{{ doc_type }}" data-login-req
{% if is_list %}
<!-- list -->
<div class="d-flex justify-content-between">
<h3>{{ _(title) }}</h3>
<h3 class="mt-0">{{ _(title) }}</h3>
<div class="list-view-actions"></div>
</div>

View file

@ -18,7 +18,7 @@
}) }}
{%- endif -%}
<div class="card-body">
<h3 class="card-title">{{ title or '' }}</h3>
<h3 class="card-title mt-0">{{ title or '' }}</h3>
<p class="card-text">{{ content or '' }}</p>
</div>
<a href="{{ url or '#' }}" class="stretched-link"></a>

View file

@ -1,6 +1,6 @@
<div class="section-cta-container">
<div class="section-cta">
<h2 class="title">{{ title }}</h2>
<h2 class="title mt-0">{{ title }}</h2>
{%- if subtitle -%}
<p class="subtitle">{{ subtitle }}</p>
{%- endif -%}

View file

@ -15,7 +15,7 @@
<img class="feature-icon" src="{{ feature.icon }}" alt="Icon for {{ feature.title }}">
{%- endif -%}
{%- if feature.title -%}
<h3 class="feature-title">{{ feature.title }}</h3>
<h3 class="feature-title mt-0">{{ feature.title }}</h3>
{%- endif -%}
{%- if feature.content -%}
<p class="feature-content">{{ frappe.utils.md_to_html(feature.content) }}</p>

View file

@ -13,7 +13,7 @@
<img class="video-thumbnail" src="https://i.ytimg.com/vi/{{ video.youtube_id }}/sddefault.jpg">
</div>
{%- if video.title -%}
<h4 class="feature-title">{{ video.title }}</h4>
<h4 class="feature-title mt-0">{{ video.title }}</h4>
{%- endif -%}
{%- if video.content -%}
<p class="feature-content">{{ video.content }}</p>

View file

@ -15,7 +15,7 @@
</div>
{%- endif -%}
<div class="split-section-content col-12 {{ left_col if image_on_right else right_col }} {{ align_content }}">
<h2>{{ title }}</h2>
<h2 class="mt-0">{{ title }}</h2>
{%- if content -%}
<p>{{ content }}</p>
{%- endif -%}