From f0b5bcd375db51258067d4b16a6989078131c8d0 Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Wed, 2 Feb 2022 11:27:26 +0000 Subject: [PATCH] Fit location into the width of the contaier --- res/css/views/messages/_MLocationBody.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/res/css/views/messages/_MLocationBody.scss b/res/css/views/messages/_MLocationBody.scss index 0a25d0ada08..bb2877ed893 100644 --- a/res/css/views/messages/_MLocationBody.scss +++ b/res/css/views/messages/_MLocationBody.scss @@ -53,3 +53,9 @@ limitations under the License. mask-image: url('$(res)/img/element-icons/location.svg'); } } + +/* In the timeline, we fit the width of the container */ +.mx_EventTile_line .mx_MLocationBody .mx_MLocationBody_map { + width: 100%; + max-width: 450px; +}