Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

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

evykassirer500e0f63d613
diff --git a/web/styles/modal.css b/web/styles/modal.css
index c7226361a04..9b27cb90092 100644
--- a/web/styles/modal.css
+++ b/web/styles/modal.css
@@ -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%);