Make RSS thumbnail height configurable

This commit is contained in:
Svilen Markov
2024-05-09 06:01:16 +01:00
parent 7c4c1798b6
commit 54102ae35e
4 changed files with 17 additions and 8 deletions

View File

@@ -392,6 +392,7 @@ Example:
| ---- | ---- | -------- | ------- |
| style | string | no | vertical-list |
| feeds | array | yes |
| thumbnail-height | float | no | 10 |
| limit | integer | no | 25 |
| collapse-after | integer | no | 5 |
@@ -406,6 +407,9 @@ Used to change the appearance of the widget. Possible values are `vertical-list`
![preview of horizontal-cards style for RSS widget](images/rss-feed-horizontal-cards-preview.png)
##### `thumbnail-height`
Used to modify the height of the thumbnails. Works only when the style is set to `horizontal-cards`. The default value is `10` and the units are `rem`, if you want to for example double the height of the thumbnails you can set it to `20`.
##### `feeds`
An array of RSS/atom feeds. The title can optionally be changed.