From d213dff4c6c53a9c8df69c9d11d15ec7e37edd1f Mon Sep 17 00:00:00 2001 From: Robin Date: Mon, 15 May 2023 07:54:29 -0400 Subject: [PATCH] Make widgets take up the full height of the PiP again (#10886) This fixes a visual regression introduced in 73007d6dd6f6e714d30bbe2292f80133c14538dd: AppTiles with the class mx_AppTile_mini don't get an mx_AppsDrawer as their parent, so the --AppTile_mini-height variable needs a broader scope. --- res/css/views/rooms/_AppsDrawer.pcss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/res/css/views/rooms/_AppsDrawer.pcss b/res/css/views/rooms/_AppsDrawer.pcss index 709a4a627c..3b9413ef90 100644 --- a/res/css/views/rooms/_AppsDrawer.pcss +++ b/res/css/views/rooms/_AppsDrawer.pcss @@ -15,8 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. */ -.mx_AppsDrawer { +:root { --AppTile_mini-height: 220px; +} + +.mx_AppsDrawer { --minWidth: 240px; /* TODO this should be 300px but that's too large */ margin: var(--container-gap-width);