fix(web): align tool detail layout (#1204)

* fix(web): align inline tool detail spacing

* fix(web): polish tool detail alignment
This commit is contained in:
Ananovo
2026-07-28 17:29:43 +08:00
committed by GitHub
parent 25dfa638b3
commit 8a77d2f84d
7 changed files with 113 additions and 10 deletions
@@ -440,10 +440,10 @@ export function ToolGroupCard(props: {
setSelectedToolId(null)
}
}}>
<DialogContent className="max-w-2xl" aria-describedby={undefined}>
<DialogContent className="max-w-2xl" closeButtonClassName="top-2" aria-describedby={undefined}>
{selectedTool && selectedPresentation ? (
<>
<DialogHeader>
<DialogHeader className="text-left">
<DialogTitle>{selectedPresentation.title}</DialogTitle>
</DialogHeader>
<ToolDetailDialogContent block={selectedTool} metadata={props.metadata} />