docs: remove steps from workflows reference overview (#8595)

* docs: remove steps from workflows reference overview

* fix styling of typelist element

* fix categories with no items showing
This commit is contained in:
Shahed Nasser
2024-08-16 12:37:13 +03:00
committed by GitHub
parent f0f83afdd9
commit 559a6d70d9
3 changed files with 4 additions and 8 deletions
@@ -176,12 +176,8 @@ export const ChildDocs = ({
/>
</>
)}
{!HeadingComponent && (
<Card
title={item.title}
href={item.type === "link" ? item.path : ""}
showLinkIcon={false}
/>
{!HeadingComponent && item.type === "link" && (
<Card title={item.title} href={item.path} showLinkIcon={false} />
)}
</React.Fragment>
)
@@ -200,7 +200,7 @@ const TypeListItem = ({
/>
</CopyButton>
)}
<div className="flex gap-0.75 flex-wrap">
<div className="flex gap-0.75 flex-wrap flex-1">
<InlineCode>{decodeStr(item.name)}</InlineCode>
<span className="font-monospace text-compact-small-plus text-medusa-fg-subtle">
<MarkdownContent allowedElements={["a"]} unwrapDisallowed={true}>