diff --git a/packages/core/src/layout/Header/Header.tsx b/packages/core/src/layout/Header/Header.tsx index ce50a2680f..cc2c8d1182 100644 --- a/packages/core/src/layout/Header/Header.tsx +++ b/packages/core/src/layout/Header/Header.tsx @@ -61,9 +61,9 @@ const useStyles = makeStyles(theme => ({ }, type: { textTransform: 'uppercase', - fontSize: 9, + fontSize: 11, opacity: 0.8, - marginBottom: 10, + marginBottom: theme.spacing(1), color: theme.palette.bursts.fontColor, }, })); @@ -104,16 +104,11 @@ const TypeFragment: FC = ({ type, typeLink, classes }) => { } if (!typeLink) { - return ( - // - {type} - ); + // TODO: Add breadcrumbs. + return {type}; } - return ( - // - {type} - ); + return {type}; }; const TitleFragment: FC = ({ diff --git a/plugins/catalog/src/components/ComponentPage/ComponentPage.tsx b/plugins/catalog/src/components/ComponentPage/ComponentPage.tsx index b9c89604b0..f26c21b6ca 100644 --- a/plugins/catalog/src/components/ComponentPage/ComponentPage.tsx +++ b/plugins/catalog/src/components/ComponentPage/ComponentPage.tsx @@ -115,8 +115,9 @@ const ComponentPage: FC = ({ match, history }) => { ]; return ( - -
+ // TODO: Switch theme and type props based on component type (website, library, ...) + +