Skip to content

Commit

Permalink
attempt to fix extra spaces after formatted text
Browse files Browse the repository at this point in the history
  • Loading branch information
ajolipa committed Dec 19, 2024
1 parent b44191a commit 26a9ad1
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions src/components/RichText/RichTextLeaf.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,18 @@ import Underline from './Leaves/Underline.astro';
const { leaf } = Astro.props;
---

<Bold leaf={leaf}>
<Code leaf={leaf}>
<Color leaf={leaf}>
<Highlight leaf={leaf}>
<Italic leaf={leaf}>
<LinkText leaf={leaf}>
<Strikethrough leaf={leaf}>
<Underline leaf={leaf}>
<slot />
</Underline>
</Strikethrough>
</LinkText>
</Italic>
</Highlight>
</Color>
</Code>
</Bold>
<Bold leaf={leaf}
><Code leaf={leaf}
><Color leaf={leaf}
><Highlight leaf={leaf}
><Italic leaf={leaf}
><LinkText leaf={leaf}
><Strikethrough leaf={leaf}
><Underline leaf={leaf}><slot /></Underline></Strikethrough
></LinkText
></Italic
></Highlight
></Color
></Code
></Bold
>

0 comments on commit 26a9ad1

Please sign in to comment.