Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/attributes-metadata-spacing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@workflow/web-shared': patch
---

Match Attributes (and hook Metadata) section content spacing to the top Metadata panel.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export function RunAttributesCard({
return (
<CollapsibleRoot defaultOpen>
<CollapsibleTrigger>Attributes</CollapsibleTrigger>
<CollapsibleContent className="mb-4">
<CollapsibleContent className="mt-0 mb-2">
<div className="flex flex-col">
{keys.map((key) => (
<AttributeRow
Expand Down Expand Up @@ -228,7 +228,7 @@ export function RunMetadataCard({ metadata }: { metadata: unknown }) {
return (
<CollapsibleRoot defaultOpen>
<CollapsibleTrigger>Metadata</CollapsibleTrigger>
<CollapsibleContent className="mb-4">
<CollapsibleContent className="mt-0 mb-2">
<CopyableDataBlock data={metadata} />
</CollapsibleContent>
</CollapsibleRoot>
Expand All @@ -241,7 +241,7 @@ export function RunMetadataCard({ metadata }: { metadata: unknown }) {
return (
<CollapsibleRoot defaultOpen>
<CollapsibleTrigger>Metadata</CollapsibleTrigger>
<CollapsibleContent className="mb-4">
<CollapsibleContent className="mt-0 mb-2">
<div className="flex flex-col">
{keys.map((key) => (
<AttributeRow
Expand Down
Loading