status_emoji: Allow status emoji to scale with text.

This commit is contained in:
Karl Stolley
2024-06-26 10:53:44 -05:00
committed by Tim Abbott
parent 818094f81d
commit c0837a6d20

View File

@@ -1653,11 +1653,12 @@ div.toggle_resolve_topic_spinner .loading_indicator_spinner {
} }
.status-emoji { .status-emoji {
height: 16px; /* 16px at 14px/1em */
width: 16px; height: 1.1429em;
width: 1.1429em;
/* We are setting minimum width here because when the user's name is very long, /* We are setting minimum width here because when the user's name is very long,
emoji's width decreases and causes it to break. */ emoji's width decreases and causes it to break. */
min-width: 16px; min-width: 1.1429em;
/* In most contexts, status emoji appear immediately after a name /* In most contexts, status emoji appear immediately after a name
field with no margin. Position the status emoji with 3px of left field with no margin. Position the status emoji with 3px of left
margin to space it from the name, and set no right margin so margin to space it from the name, and set no right margin so