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.

css: Add block comment for reaction button logic.

Tim Abbottf89af5b2b4cb
diff --git a/static/styles/reactions.css b/static/styles/reactions.css
index 380aadb997a..171595d4a86 100644
--- a/static/styles/reactions.css
+++ b/static/styles/reactions.css
@@ -80,6 +80,11 @@
color: hsl(200, 100%, 40%);
}
+ /* Configure the reaction button to appear if and only if there's an
+ existing reaction to the message. We reference first-child
+ rather than only-child because tooltips may be appended to
+ the DOM after this element, whereas actual reactions are
+ appended before it. */
&:first-child {
display: none;
}