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.

user_status: Scale emoji with user's font-size.

evykassirer1899ac97661e
diff --git a/web/styles/user_status.css b/web/styles/user_status.css
index e93dc94bbec..180c3fd7f0e 100644
--- a/web/styles/user_status.css
+++ b/web/styles/user_status.css
@@ -43,8 +43,8 @@
cursor: pointer;
.selected-emoji {
- width: 20px;
- height: 20px;
+ width: 1.25em; /* 20px at 16px/em */
+ height: 1.25em; /* 20px at 16px/em */
cursor: pointer;
}
@@ -52,7 +52,7 @@
& img.selected-emoji,
.smiley-icon {
text-align: center;
- min-width: 20px;
+ min-width: 1.25em; /* 20px at 16px/em */
}
.smiley-icon {
@@ -84,8 +84,8 @@
.status-emoji {
/* Size and align status emoji to match
the top line of the modal. */
- height: 20px;
- width: 20px;
+ height: 1.25em; /* 20px at 16px/em */
+ width: 1.25em; /* 20px at 16px/em */
margin: 0 7px;
}
}