Fix alignment of timestamps in bubble layout (#7535)

pull/21833/head
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
1 changed files with 8 additions and 5 deletions

View File

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