From f05b2691b8ea33e4010d7056f8fd2358d5181b28 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 15 Aug 2024 14:18:35 +0100 Subject: [PATCH] Add docs for widget container height option See https://github.com/matrix-org/matrix-react-sdk/pull/12893 --- config.sample.json | 1 + docs/config.md | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/config.sample.json b/config.sample.json index 579b28619a..0033b17eba 100644 --- a/config.sample.json +++ b/config.sample.json @@ -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": {}, diff --git a/docs/config.md b/docs/config.md index fa6ee5b07c..03ace05c33 100644 --- a/docs/config.md +++ b/docs/config.md @@ -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: