Skip to content

Commit

Permalink
Update with flex to align center and rebase onto master
Browse files Browse the repository at this point in the history
  • Loading branch information
alexBinns committed Oct 17, 2023
1 parent 7cf941d commit 524df7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Badge.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?
Expand Down
2 changes: 1 addition & 1 deletion src/components/H2.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { id } = Astro.props;
<div class="not-prose">
<h2
id={id}
class="scroll-mt-32 mt-4 type-headline-4"
class="scroll-mt-32 mt-4 type-headline-4 flex"
>
<slot/>
</h2>
Expand Down

0 comments on commit 524df7f

Please sign in to comment.