From afbc843157d9c1eefd5b127aaba7cf6bb1ded569 Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Wed, 2 Feb 2022 11:41:33 +0000 Subject: [PATCH] Fit location into the width of the container (#7705) --- 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 0a25d0ada0..bb2877ed89 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; +}