Remove bubble from around location events (#7459)

This commit is contained in:
Michael Telatynski 2022-01-10 12:53:11 +00:00 committed by GitHub
parent dbd7949e79
commit 8b88b48edc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 8 deletions

View file

@ -163,7 +163,7 @@ limitations under the License.
padding: 4px 8px;
bottom: 0;
right: 0;
z-index: 1; // above media
z-index: 3; // above media and location share maps
}
//noinspection CssReplaceWithShorthandSafely
@ -181,7 +181,7 @@ limitations under the License.
}
}
.mx_EventTile_line:not(.mx_EventTile_mediaLine) {
&:not(.mx_EventTile_noBubble) .mx_EventTile_line:not(.mx_EventTile_mediaLine) {
padding: var(--gutterSize);
padding-right: 60px; // space for the timestamp
background: var(--backgroundColor);
@ -190,14 +190,14 @@ limitations under the License.
&.mx_EventTile_continuation[data-self=false] .mx_EventTile_line {
border-top-left-radius: 0;
.mx_MImageBody .mx_MImageBody_thumbnail {
.mx_MImageBody .mx_MImageBody_thumbnail, .mx_MLocationBody_map {
border-top-left-radius: 0;
}
}
&.mx_EventTile_lastInSection[data-self=false] .mx_EventTile_line {
border-bottom-left-radius: var(--cornerRadius);
.mx_MImageBody .mx_MImageBody_thumbnail {
.mx_MImageBody .mx_MImageBody_thumbnail, .mx_MLocationBody_map {
border-bottom-left-radius: var(--cornerRadius);
}
}
@ -205,14 +205,14 @@ limitations under the License.
&.mx_EventTile_continuation[data-self=true] .mx_EventTile_line {
border-top-right-radius: 0;
.mx_MImageBody .mx_MImageBody_thumbnail {
.mx_MImageBody .mx_MImageBody_thumbnail, .mx_MLocationBody_map {
border-top-right-radius: 0;
}
}
&.mx_EventTile_lastInSection[data-self=true] .mx_EventTile_line {
border-bottom-right-radius: var(--cornerRadius);
.mx_MImageBody .mx_MImageBody_thumbnail {
.mx_MImageBody .mx_MImageBody_thumbnail, .mx_MLocationBody_map {
border-bottom-right-radius: var(--cornerRadius);
}
}