Merge pull request #22288 from scmmishra/support-portal-fixes
diff --git a/erpnext/public/scss/website.scss b/erpnext/public/scss/website.scss
index 735b417..617e916 100644
--- a/erpnext/public/scss/website.scss
+++ b/erpnext/public/scss/website.scss
@@ -81,4 +81,10 @@
.place-order-container {
text-align: right;
+}
+
+.kb-card {
+ .card-body > .card-title {
+ line-height: 1.3;
+ }
}
\ No newline at end of file
diff --git a/erpnext/www/support/index.html b/erpnext/www/support/index.html
index 824f0bd..2b1c282 100644
--- a/erpnext/www/support/index.html
+++ b/erpnext/www/support/index.html
@@ -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">