Merge pull request #11479 from KanchanChauhan/padding-in-about-page
fix(About Us): Padding in About Us page sections
This commit is contained in:
commit
fb5e2fd33f
2 changed files with 12 additions and 0 deletions
|
|
@ -244,3 +244,9 @@ h5.modal-title {
|
|||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.about-section {
|
||||
padding-top: 1rem;
|
||||
}
|
||||
.about-footer {
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
|
@ -17,6 +17,7 @@
|
|||
list of key team members in Website > About Us Settings</p>""" }}
|
||||
|
||||
{% if doc.get({"doctype":"Company History"}) %}
|
||||
<div class="about-section">
|
||||
<h3>{{ doc.company_history_heading or "Company History" }}</h3>
|
||||
{% for d in doc.get({"doctype":"Company History"}) %}
|
||||
<div class="row">
|
||||
|
|
@ -24,9 +25,11 @@
|
|||
<span class="col-md-10"><p>{{ d.highlight }}</p></span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if doc.get({"doctype":"About Us Team Member"}) %}
|
||||
<div class="about-section">
|
||||
<h3>{{ doc.team_members_heading or "Team Members" }}</h3>
|
||||
{% for d in doc.get({"doctype":"About Us Team Member"}) %}
|
||||
<div class="row" itemscope itemtype="http://schema.org/Person">
|
||||
|
|
@ -40,7 +43,10 @@
|
|||
</span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="about-footer">
|
||||
{{ doc.footer or "" }}
|
||||
</div>
|
||||
</article>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue