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.

tippy: Fix weird looking arrow for playground and copy code tooltips.

Aman Agrawal2ceda13e3179
diff --git a/static/styles/zulip.css b/static/styles/zulip.css
index 8948ce2441e..23788bb546b 100644
--- a/static/styles/zulip.css
+++ b/static/styles/zulip.css
@@ -75,6 +75,16 @@ pre {
* for tooltips here.
*/
font-family: "Source Sans 3", sans-serif !important;
+
+ .tippy-arrow::before {
+ /* `.tippy-arrow:before` element sometimes
+ * inherits the height of the parent, we
+ * don't want any height here since we
+ * want it to remain an triangle.
+ * The bug was only found in Firefox.
+ */
+ height: 0 !important;
+ }
}
.no-select {