read reciepts: Use em for row height and modal width.

This commit is contained in:
evykassirer
2025-02-05 12:44:13 -08:00
committed by Tim Abbott
parent 205cfc0f85
commit 500e0f63d6

View File

@@ -219,7 +219,7 @@
#read_receipts_modal {
.modal__container {
width: 360px;
width: 25.7142em; /* 360px at 14px em */
.modal__content {
/* When showing read receipts, we use simplebar
@@ -267,8 +267,8 @@
& li {
.read_receipts_user_avatar {
display: inline-block;
height: 20px;
width: 20px;
height: 1.25em; /* 20px at 16px font-size at 14px em */
width: 1.25em; /* 20px at 16px font-size at 14px em */
position: relative;
right: 8px;
border-radius: 4px;
@@ -281,7 +281,7 @@
white-space: nowrap;
text-overflow: ellipsis;
cursor: pointer;
line-height: 26px;
line-height: 1.625em; /* 26px at 16px font-size at 14px em */
&:hover {
background-color: hsl(0deg 0% 0% / 5%);