From 0bf4087aebb6887b93bc2f5aae49506ec44a4cad Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 27 Jul 2023 21:36:48 +0300 Subject: [PATCH] make sure the inline modal doesnt overflow on the left either (when u start a root comment with an emoji) --- files/assets/js/emoji_modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/assets/js/emoji_modal.js b/files/assets/js/emoji_modal.js index 1b01b879b..657d50164 100644 --- a/files/assets/js/emoji_modal.js +++ b/files/assets/js/emoji_modal.js @@ -470,7 +470,7 @@ function update_speed_emoji_modal(event) modal_pos.y += window.scrollY; speed_carot_modal.style.display = "initial"; - speed_carot_modal.style.left = box_coords.x - 35 + "px"; + speed_carot_modal.style.left = box_coords.x - 30 + "px"; speed_carot_modal.style.top = modal_pos.y + box_coords.y + 14 + "px"; // Do the search (and do something with it)