Skip to content

Commit

Permalink
add mb to title
Browse files Browse the repository at this point in the history
  • Loading branch information
markvanaalst committed Jul 16, 2024
1 parent b16c4b3 commit cd7bc95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import Image from 'next/image';
import { ProductIcon } from './ProductIcon';

type ChangelogItemMetaProps = BoxProps & {
loading?: boolean;
item: ChangelogEntry;
};

Expand All @@ -32,7 +31,7 @@ export const ChangelogItemMeta = ({ item, ...rest }: ChangelogItemMetaProps) =>
};

const MetaInfo = (
<HStack {...rest} gap={4}>
<HStack gap={4}>
{item.products != null && item.products?.length > 1 ? (
<HStack spacing={0}>
<Popover placement="bottom-start" trigger="click">
Expand Down
4 changes: 2 additions & 2 deletions apps/devportal/src/pages/changelog/[product]/[...entry].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ const ChangelogProduct = ({ currentProduct, changelogEntry }: ChangelogProps) =>
{/* The full changelog item */}
<Card variant={'unstyled'} mt={8} mb={16}>
<CardHeader pb={4}>
<Heading as="h2" fontSize={'1.25rem'} id={getSlug(changelogEntry.title)}>
<Heading as="h2" fontSize={'1.25rem'} id={getSlug(changelogEntry.title)} mb={4}>
<Link href={getChangelogEntryUrl(changelogEntry)} title={changelogEntry.title}>
{changelogEntry.title}
</Link>
</Heading>

<ChangelogItemMeta item={changelogEntry} mt={4} />
<ChangelogItemMeta item={changelogEntry} />
{changelogEntry.scheduled && (
<Alert colorScheme="neutral" mt={4}>
<AlertIcon />
Expand Down

0 comments on commit cd7bc95

Please sign in to comment.