Skip to content

Strange spacing CSS bug in blog excerpts #332

Answered by rhuddlestone
soranauts asked this question in Q&A
Discussion options

You must be logged in to vote

If you look in the SinglePost.astro component you will see

p
class="max-w-3xl mx-auto mt-4 mb-8 px-4 sm:px-6 text-xl md:text-2xl text-muted dark:text-slate-400 text-justify"
>
{post.excerpt}

The text-justify option is causing this spacing. Try removing the text-justify and it should all justify to the left with regular spacing.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by prototypa
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #330 on December 28, 2023 01:54.