From 6fa56a489320ec04787105f5ed685c82f4de90e5 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 12 Jun 2026 16:43:09 +0100 Subject: [PATCH] refac --- cptr/frontend/src/lib/components/chat/ChatInput.svelte | 2 +- .../src/lib/components/chat/SkillSuggestionPopup.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cptr/frontend/src/lib/components/chat/ChatInput.svelte b/cptr/frontend/src/lib/components/chat/ChatInput.svelte index 54d5d12..7a60586 100644 --- a/cptr/frontend/src/lib/components/chat/ChatInput.svelte +++ b/cptr/frontend/src/lib/components/chat/ChatInput.svelte @@ -401,7 +401,7 @@ if (!child) return; const popupHeight = child.offsetHeight || 200; child.style.position = 'fixed'; - child.style.left = `${Math.max(8, Math.min(rect.left, window.innerWidth - 340))}px`; + child.style.left = `${Math.max(8, Math.min(rect.left, window.innerWidth - 280))}px`; child.style.top = `${rect.top - popupHeight - 8}px`; } diff --git a/cptr/frontend/src/lib/components/chat/SkillSuggestionPopup.svelte b/cptr/frontend/src/lib/components/chat/SkillSuggestionPopup.svelte index 97ea264..ea9a5ee 100644 --- a/cptr/frontend/src/lib/components/chat/SkillSuggestionPopup.svelte +++ b/cptr/frontend/src/lib/components/chat/SkillSuggestionPopup.svelte @@ -27,7 +27,7 @@
{#if items.length === 0}
No skills found