mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-21 18:11:37 +01:00
home-info: let content show upto 5 lines
* previously 3
This commit is contained in:
parent
724e73facb
commit
2c7cffb617
@ -36,6 +36,10 @@
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.home-info .entry-content {
|
||||
-webkit-line-clamp: 5;
|
||||
}
|
||||
|
||||
.post-entry {
|
||||
position: relative;
|
||||
margin-bottom: var(--gap);
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user