fix: details

This commit is contained in:
2026-02-28 16:34:37 +08:00
parent a4023c994f
commit 66aaaa96e1
3 changed files with 13 additions and 13 deletions
+4 -4
View File
@@ -73,9 +73,12 @@ customElement<MdCommanderProps>(
return (
<div
class={`md-commander flex flex-col border border-gray-300 rounded-lg overflow-hidden ${props.class || ""}`}
class={`md-commander flex flex-col border border-gray-300 rounded-lg overflow-visible ${props.class || ""}`}
style={{ height: heightStyle() }}
>
{/* 命令执行结果 */}
<CommanderEntries entries={commander.entries} />
{/* 命令输入框 */}
<div class="relative">
<CommanderInput
@@ -99,9 +102,6 @@ customElement<MdCommanderProps>(
onAcceptCompletion={commander.acceptCompletion}
/>
</div>
{/* 命令执行结果 */}
<CommanderEntries entries={commander.entries} />
</div>
);
},