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.

reactions: Use a flex layout for reactions.

Karl Stolleyc0c62e477ca4
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index 00a8371e058..11add9d5777 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -248,6 +248,9 @@ $time_column_min_width: 50px; /* + padding */
.message_reactions {
grid-area: reactions;
margin-top: -1px;
+ display: flex;
+ /* Allow reactions to wrap in mobile viewports */
+ flex-wrap: wrap;
}
.message_edit {
diff --git a/web/styles/reactions.css b/web/styles/reactions.css
index 130f644db8f..1155e850583 100644
--- a/web/styles/reactions.css
+++ b/web/styles/reactions.css
@@ -5,7 +5,6 @@
.message_reaction {
display: flex;
- float: left;
margin: 0.15em;
padding: 0 2px 0 0;
cursor: pointer;