diff --git a/.changeset/tiny-swans-warn.md b/.changeset/tiny-swans-warn.md new file mode 100644 index 0000000000..45c6435a5d --- /dev/null +++ b/.changeset/tiny-swans-warn.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-home-react': patch +--- + +Fixes auto-hiding of content divider when title not specified diff --git a/plugins/home-react/src/extensions.tsx b/plugins/home-react/src/extensions.tsx index 71b17a81a4..dd4b1e9df7 100644 --- a/plugins/home-react/src/extensions.tsx +++ b/plugins/home-react/src/extensions.tsx @@ -152,7 +152,8 @@ function CardExtension(props: CardExtensionComponentProps) { } const cardProps = { - ...(title && { title, divider: !!title }), + divider: !!title, + ...(title && { title }), ...(Settings && !isCustomizable ? { action: (