From 45c07f14a574a7789ec379964d179bee8e98d704 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Tue, 9 Mar 2021 21:54:44 +0530 Subject: [PATCH 1/2] fix: Make feature card fully clickable --- frappe/public/scss/website/page_builder.scss | 1 + .../section_with_features/section_with_features.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frappe/public/scss/website/page_builder.scss b/frappe/public/scss/website/page_builder.scss index 1803e52cf7..6eb6dae5d2 100644 --- a/frappe/public/scss/website/page_builder.scss +++ b/frappe/public/scss/website/page_builder.scss @@ -657,6 +657,7 @@ display: flex; flex-direction: column; justify-content: space-between; + position: relative; } .feature-title, .feature-content { 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 e837bf52d7..d893f8dab3 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 @@ -22,7 +22,7 @@
{%- if feature.url -%} - Learn more → + Learn more → {%- endif -%}
From 51ee995c07ad98445d2a6b289c5faf020baf396a Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Tue, 9 Mar 2021 21:55:22 +0530 Subject: [PATCH 2/2] fix: Bolder font-weight for h2, like h1 and h3 --- frappe/public/scss/website/doc.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/public/scss/website/doc.scss b/frappe/public/scss/website/doc.scss index f258e2ee47..1585f428f9 100644 --- a/frappe/public/scss/website/doc.scss +++ b/frappe/public/scss/website/doc.scss @@ -180,7 +180,7 @@ $navbar-height-lg: 4.5rem; h2 { font-size: $font-size-2xl; - font-weight: 400; + font-weight: 500; } h3 { @@ -250,4 +250,4 @@ $navbar-height-lg: 4.5rem; .breadcrumb { margin-bottom: 0; } -} \ No newline at end of file +}