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.

message_row: Correctly align bot icon in message area.

whilstsomebody82077b63281c
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index 21d8b73ce53..ef02153e021 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -425,6 +425,11 @@
.zulip-icon.zulip-icon-bot {
align-self: center;
margin-left: 5px;
+ /* The bot icon is center-aligned but appears
+ slightly misaligned with the bot name text due
+ to its shape. Adding a negative top margin ensures
+ it's proper alignment. */
+ margin-top: -0.12em;
}
.sender_name {