correctly align read receipts to state events in bubble layout (#8419)
This commit is contained in:
parent
472222c195
commit
6120adaedd
1 changed files with 6 additions and 3 deletions
|
@ -449,8 +449,11 @@ limitations under the License.
|
||||||
|
|
||||||
.mx_ReadReceiptGroup {
|
.mx_ReadReceiptGroup {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: -78px; // as close to right gutter without clipping as possible
|
// as close to right gutter without clipping as possible
|
||||||
bottom: 0;
|
right: -78px;
|
||||||
|
// (EventTileLine.line-height - ReadReceiptGroup.height) / 2
|
||||||
|
// this centers the ReadReceiptGroup if we’ve got a single line
|
||||||
|
bottom: calc(($font-18px - 24px) / 2);
|
||||||
top: auto;
|
top: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -586,7 +589,7 @@ limitations under the License.
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_ReadReceiptGroup {
|
.mx_ReadReceiptGroup {
|
||||||
right: -14px; // match alignment to RRs of chat bubbles
|
right: -18px; // match alignment to RRs of chat bubbles
|
||||||
}
|
}
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
|
|
Loading…
Reference in a new issue