Merge pull request #22288 from scmmishra/support-portal-fixes

This commit is contained in:
Shivam Mishra 2020-06-17 13:14:49 +00:00 committed by GitHub
commit dec17d5ce4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 6 deletions

View File

@ -81,4 +81,10 @@
.place-order-container {
text-align: right;
}
.kb-card {
.card-body > .card-title {
line-height: 1.3;
}
}

View File

@ -4,20 +4,20 @@
<section class="section section-padding-top section-padding-bottom">
<div class='container'>
<div class="hero-content">
<h1 class="h1">{{ _(greeting_title) or _("We're here to help") }}</h1>
<h1 class="hero-title">{{ greeting_title or _("We're here to help") }}</h1>
<p class="hero-subtitle">{{ greeting_subtitle or _("Browse help topics.") }}</p>
</div>
</div>
</section>
{% if favorite_article_list %}
<section class="section section-padding-top section-padding-bottom">
<section class="section section-padding-top section-padding-bottom bg-light">
<div class='container'>
<h3>{{ _("Frequently Read Articles") }}</h3>
<h2>{{ _("Frequently Read Articles") }}</h2>
<div class="row">
{% for favorite_article in favorite_article_list %}
<div class="mt-4 col-12 col-sm-6 col-lg-4">
<div class="card card-md h-100">
<div class="card card-md h-100 kb-card">
<div class="card-body">
<h6 class="card-subtitle mb-2 text-uppercase small text-muted">{{ favorite_article['category'] }}</h6>
<h3 class="card-title">{{ favorite_article['title'] }}</h3>
@ -33,9 +33,9 @@
{% endif %}
{% if help_article_list %}
<section class="section section-padding-top section-padding-bottom bg-light">
<section class="section section-padding-top section-padding-bottom">
<div class='container'>
<h3>{{ _("Help Articles") }}</h3>
<h2>{{ _("Help Articles") }}</h2>
<div class="row">
{% for item in help_article_list %}
<div class="mt-5 col-12 col-sm-6 col-lg-4">