Skip to content

Commit

Permalink
Add docs for widget container height option
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkr committed Aug 15, 2024
1 parent 7073fb2 commit f05b269
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions config.sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"https://scalar-staging.vector.im/api",
"https://scalar-staging.riot.im/scalar/api"
],
"default_widget_height": "280px",
"default_country_code": "GB",
"show_labs_settings": false,
"features": {},
Expand Down
5 changes: 5 additions & 0 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,11 @@ If you would like to use Scalar, the integration manager maintained by Element,
}
```

For widgets in general (from an integration manager or not) there is also:
* `default_widget_container_height`

This controls the height that the top widget panel initially appears as and is the height in pixels, default 280.

## Administrative options

If you would like to include a custom message when someone is reporting an event, set the following Markdown-capable field:
Expand Down

0 comments on commit f05b269

Please sign in to comment.