refac/fix: dynamic height for command options

This commit is contained in:
Timothy Jaeryang Baek committed 2025-08-14 02:14:23 +04:00
1 parent 2ed9896dea
commit 28faaa23c4
3 files changed
+8 -3

No files matched your search

@@ -59,8 +59,10 @@
onSelect({ type: 'prompt', data: command });
};
onMount(() => {
onMount(async () => {
window.addEventListener('resize', adjustHeight);
await tick();
adjustHeight();
});