Fit location into the width of the container (#7705)

This commit is contained in:
Andy Balaam 2022-02-02 11:41:33 +00:00 committed by GitHub
parent cb1c94dd2b
commit afbc843157
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,3 +53,9 @@ limitations under the License.
mask-image: url('$(res)/img/element-icons/location.svg'); 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;
}