mirror of
https://github.com/Xevion/glance.git
synced 2025-12-06 03:15:13 -06:00
Add horizontal-cards-2 style for RSS widget
This commit is contained in:
@@ -393,6 +393,7 @@ Example:
|
||||
| style | string | no | vertical-list |
|
||||
| feeds | array | yes |
|
||||
| thumbnail-height | float | no | 10 |
|
||||
| card-height | float | no | 27 |
|
||||
| limit | integer | no | 25 |
|
||||
| collapse-after | integer | no | 5 |
|
||||
|
||||
@@ -407,9 +408,16 @@ Used to change the appearance of the widget. Possible values are `vertical-list`
|
||||
|
||||

|
||||
|
||||
`horizontal-cards-2`
|
||||
|
||||

|
||||
|
||||
##### `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`.
|
||||
|
||||
##### `card-height`
|
||||
Used to modify the height of cards when using the `horizontal-cards-2` style. The default value is `27` and the units are `rem`.
|
||||
|
||||
##### `feeds`
|
||||
An array of RSS/atom feeds. The title can optionally be changed.
|
||||
|
||||
|
||||
BIN
docs/images/rss-widget-horizontal-cards-2-preview.png
Normal file
BIN
docs/images/rss-widget-horizontal-cards-2-preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 531 KiB |
Reference in New Issue
Block a user