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.

view_code_in_playground: Fix tooltip being partially hidden.

Aman Agrawal683a5e7c23c0
diff --git a/static/js/tippyjs.js b/static/js/tippyjs.js
index 1a89160d85a..03fb828db83 100644
--- a/static/js/tippyjs.js
+++ b/static/js/tippyjs.js
@@ -219,6 +219,7 @@ export function initialize() {
".sidebar-title",
"#user_filter_icon",
"#scroll-to-bottom-button-clickable-area",
+ ".code_external_link",
],
appendTo: () => document.body,
});
diff --git a/static/templates/view_code_in_playground.hbs b/static/templates/view_code_in_playground.hbs
index c7c250c5af4..9a8904203f2 100644
--- a/static/templates/view_code_in_playground.hbs
+++ b/static/templates/view_code_in_playground.hbs
@@ -1,2 +1,2 @@
{{! Display the "view code in playground" option for code blocks}}
-<a target="_blank" rel="noopener noreferrer" class="tippy-zulip-tooltip code_external_link"><i class="fa fa-external-link"></i></a>
+<a target="_blank" rel="noopener noreferrer" class="code_external_link"><i class="fa fa-external-link"></i></a>