From 683a5e7c23c08ddfa0a16e951b9c6316480e1e1c Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Mon, 19 Sep 2022 05:44:21 +0000 Subject: [PATCH] view_code_in_playground: Fix tooltip being partially hidden. --- static/js/tippyjs.js | 1 + static/templates/view_code_in_playground.hbs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/tippyjs.js b/static/js/tippyjs.js index 1a89160d85..03fb828db8 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 c7c250c5af..9a8904203f 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}} - +