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 font-family for copy code and playground tooltips.

Aman Agrawal9350bbd976d6
diff --git a/static/styles/zulip.css b/static/styles/zulip.css
index 841b1537012..8948ce2441e 100644
--- a/static/styles/zulip.css
+++ b/static/styles/zulip.css
@@ -69,6 +69,14 @@ pre {
font-family: "Source Code Pro", monospace;
}
+[data-tippy-root] {
+ /* Since tooltip elements are sometimes inside elements
+ * which have different font-family, we force font-family
+ * for tooltips here.
+ */
+ font-family: "Source Sans 3", sans-serif !important;
+}
+
.no-select {
user-select: none;
}