fix: details
This commit is contained in:
@@ -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>
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user