home-info: let content show upto 5 lines

* previously 3
This commit is contained in:
Aditya Telange 2020-10-08 15:50:20 +05:30
parent 724e73facb
commit 2c7cffb617
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
2 changed files with 5 additions and 1 deletions

View File

@ -36,6 +36,10 @@
font-size: 14px;
}
.home-info .entry-content {
-webkit-line-clamp: 5;
}
.post-entry {
position: relative;
margin-bottom: var(--gap);

View File

@ -1,5 +1,5 @@
{{- with $.Site.Params.homeInfoParams }}
<article class="first-entry">
<article class="first-entry home-info">
<header class="entry-header">
<h2>{{- .Title }}</h2>
</header>