view_code_in_playground: Fix tooltip being partially hidden.

This commit is contained in:
Aman Agrawal
2022-09-19 05:44:21 +00:00
committed by Tim Abbott
parent 3400cb425b
commit 683a5e7c23
2 changed files with 2 additions and 1 deletions

View File

@@ -219,6 +219,7 @@ export function initialize() {
".sidebar-title", ".sidebar-title",
"#user_filter_icon", "#user_filter_icon",
"#scroll-to-bottom-button-clickable-area", "#scroll-to-bottom-button-clickable-area",
".code_external_link",
], ],
appendTo: () => document.body, appendTo: () => document.body,
}); });

View File

@@ -1,2 +1,2 @@
{{! Display the "view code in playground" option for code blocks}} {{! 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>