Add docs for widget container height option

See https://github.com/matrix-org/matrix-react-sdk/pull/12893
This commit is contained in:
David Baker 2024-08-15 14:18:35 +01:00
parent 7073fb2faf
commit f05b2691b8
2 changed files with 6 additions and 0 deletions

View file

@ -22,6 +22,7 @@
"https://scalar-staging.vector.im/api", "https://scalar-staging.vector.im/api",
"https://scalar-staging.riot.im/scalar/api" "https://scalar-staging.riot.im/scalar/api"
], ],
"default_widget_height": "280px",
"default_country_code": "GB", "default_country_code": "GB",
"show_labs_settings": false, "show_labs_settings": false,
"features": {}, "features": {},

View file

@ -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 ## Administrative options
If you would like to include a custom message when someone is reporting an event, set the following Markdown-capable field: If you would like to include a custom message when someone is reporting an event, set the following Markdown-capable field: