Make RSS thumbnail height configurable
This commit is contained in:
parent
7c4c1798b6
commit
54102ae35e
4 changed files with 17 additions and 8 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
{{ define "widget-content" }}
|
||||
<div class="carousel-container">
|
||||
<div class="cards-horizontal carousel-items-container">
|
||||
<div class="cards-horizontal carousel-items-container"{{ if ne 0.0 .ThumbnailHeight }}style="--rss-thumbnail-height: {{ .ThumbnailHeight }}rem;"{{ end }}>
|
||||
{{ range .Items }}
|
||||
<div class="card widget-content-frame thumbnail-container">
|
||||
{{ if ne "" .ImageURL }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue