mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-20 03:47:06 +00:00
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:
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user