Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix: clarify intent of alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
justjanne committed Apr 27, 2022
1 parent abdcf72 commit 4dfea3f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions res/css/views/rooms/_EventBubbleTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,11 @@ limitations under the License.

.mx_ReadReceiptGroup {
position: absolute;
right: -78px; // as close to right gutter without clipping as possible
bottom: -1px;
// as close to right gutter without clipping as possible
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;
}

Expand Down

0 comments on commit 4dfea3f

Please sign in to comment.