FIX display problem with cards
This commit is contained in:
parent
c82a99f16a
commit
25ffefe77c
4 changed files with 4 additions and 4 deletions
|
@ -419,7 +419,7 @@ button {
|
|||
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
||||
max-width: 350px;
|
||||
height: 400px;
|
||||
margin: auto;
|
||||
margin: 1rem auto;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<img class="cardImage" src="{{ .Site.Params.defaultimage }}" alt="Default Image" />
|
||||
{{ end }}
|
||||
<div class="cardTitle">{{.Title}}</div>
|
||||
<div class="cardDescription">{{ .Content | safeHTML | truncate 250 }}</div>
|
||||
<div class="cardDescription">{{ .Summary | safeHTML | truncate 320 }}</div>
|
||||
<div class="cardDetail">{{.Date.Format "02.01.2006"}} | {{.ReadingTime}} Minuten</div>
|
||||
</div>
|
||||
</a>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<img class="cardImage" src="{{ $defaultimage }}" alt="Defaul Image" />
|
||||
{{ end }}
|
||||
<div class="cardTitle">{{.Title}}</div>
|
||||
<div class="cardDescription">{{ .Content | safeHTML | truncate 250 }}</div>
|
||||
<div class="cardDescription">{{ .Summary | safeHTML | truncate 320 }}</div>
|
||||
<div class="cardDetail">{{.Date.Format "02.01.2006"}} | {{.ReadingTime}} Minuten</div>
|
||||
</div>
|
||||
</a>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<img class="cardImage" src="{{ .Site.Params.defaultimage }}" alt="Default Image" />
|
||||
{{ end }}
|
||||
<div class="cardTitle">{{.Title}}</div>
|
||||
<div class="cardDescription">{{ .Content | safeHTML | truncate 250 }}</div>
|
||||
<div class="cardDescription">{{ .Summary | safeHTML | truncate 320 }}</div>
|
||||
<div class="cardDetail">{{.Date.Format "02.01.2006"}} | {{.ReadingTime}} Minuten</div>
|
||||
</div>
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue