From 2c7cffb617dd925d1e69432a34f6987314c2b8c1 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Thu, 8 Oct 2020 15:50:20 +0530 Subject: [PATCH] home-info: let content show upto 5 lines * previously 3 --- assets/css/post-entry.css | 4 ++++ layouts/partials/home_info.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/css/post-entry.css b/assets/css/post-entry.css index 340ffac6..532855b5 100644 --- a/assets/css/post-entry.css +++ b/assets/css/post-entry.css @@ -36,6 +36,10 @@ font-size: 14px; } +.home-info .entry-content { + -webkit-line-clamp: 5; +} + .post-entry { position: relative; margin-bottom: var(--gap); diff --git a/layouts/partials/home_info.html b/layouts/partials/home_info.html index 7feb43a1..6be21134 100644 --- a/layouts/partials/home_info.html +++ b/layouts/partials/home_info.html @@ -1,5 +1,5 @@ {{- with $.Site.Params.homeInfoParams }} -
+

{{- .Title }}