This commit is contained in:
Timothy Jaeryang Baek
2026-06-12 16:43:09 +01:00
Unverified
parent 62f1b2ef0e
commit 6fa56a4893
2 changed files with 2 additions and 2 deletions
@@ -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`;
}
@@ -27,7 +27,7 @@
</script>
<div
class="fixed z-50 w-72 max-h-48 overflow-y-auto rounded-xl bg-white dark:bg-[#1a1a1a] border border-gray-150 dark:border-white/6 shadow-xl p-0.5"
class="fixed z-50 w-64 max-h-48 overflow-y-auto rounded-xl bg-white dark:bg-[#1a1a1a] border border-gray-150 dark:border-white/6 shadow-xl p-0.5"
>
{#if items.length === 0}
<div class="px-3 py-2 text-xs text-gray-400 dark:text-gray-600">No skills found</div>