diff --git a/src/components/Badge.astro b/src/components/Badge.astro index c01f3de6f..c73ee2172 100644 --- a/src/components/Badge.astro +++ b/src/components/Badge.astro @@ -12,7 +12,7 @@ const coloursMap = { default: 'text-content-primary border-outline-opaque bg-surface-tertiary' } -const badgeClass =`${coloursMap[type]} type-caption-2 inline-flex text-xs px-2 py-0.5 rounded-full border` +const badgeClass =`${coloursMap[type]} type-caption-2 text-xs px-2 py-0.5 rounded-full border self-center ml-1` --- {link ? diff --git a/src/components/H2.astro b/src/components/H2.astro index e3ad979dd..969cdeea7 100644 --- a/src/components/H2.astro +++ b/src/components/H2.astro @@ -5,7 +5,7 @@ const { id } = Astro.props;