Fix alignment of timestamps in bubble layout (#7535)

This commit is contained in:
Michael Telatynski 2022-01-13 22:45:54 +00:00 committed by GitHub
parent 61a0be7d46
commit 657b0a4c28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,7 +184,7 @@ limitations under the License.
border-top-left-radius: var(--cornerRadius);
border-top-right-radius: var(--cornerRadius);
> a, .mx_MessageTimestamp {
> a { // timestamp wrapper anchor
position: absolute;
padding: 4px 8px;
bottom: 0;
@ -406,12 +406,15 @@ limitations under the License.
margin-left: 9px;
}
.mx_EventTile_line > a,
.mx_EventTile_line .mx_MessageTimestamp {
// Align timestamps with those of normal bubble tiles
.mx_EventTile_line > a { // timestamp wrapper anchor
right: auto;
top: -11px;
left: -77px;
bottom: unset;
align-self: center;
.mx_MessageTimestamp {
vertical-align: middle;
}
}
}