diff --git a/plugins/catalog/src/alpha/DefaultEntityContentLayout.tsx b/plugins/catalog/src/alpha/DefaultEntityContentLayout.tsx index 0b7b9be4f6..0d3d4ac6c9 100644 --- a/plugins/catalog/src/alpha/DefaultEntityContentLayout.tsx +++ b/plugins/catalog/src/alpha/DefaultEntityContentLayout.tsx @@ -102,6 +102,8 @@ const useStyles = makeStyles< gridArea: 'info', position: 'sticky', top: theme.spacing(3), + // this is a little unfortunate, it's basically vh - header, in order for the page to scroll + // naturally throught the main cards. maxHeight: `calc(100vh - ${theme.spacing(6)}px)`, overflowY: 'auto', alignSelf: 'start', @@ -163,6 +165,11 @@ export function DefaultEntityContentLayout(props: EntityContentLayoutProps) { <> {entityWarningContent}
+ {infoCards.length > 0 ? ( +
+ {infoCards.map(card => card.element)} +
+ ) : null}
{summaryCards.length > 0 ? (
@@ -179,11 +186,6 @@ export function DefaultEntityContentLayout(props: EntityContentLayoutProps) {
) : null}
- {infoCards.length > 0 ? ( -
- {infoCards.map(card => card.element)} -
- ) : null}
);