Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Duplicate 'text-center' Class #66

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

KagemaNjoroge
Copy link

Hi,

I've removed a duplicate 'text-center' class from a JSX element in the code. The class was applied twice, causing unnecessary duplication of styling. This PR aims to improve code cleanliness and reduce potential conflicts.

Changes Made:

  • Removed the duplicate 'text-center' class from components/PostCard.jsx

Before:

<div className="flex items-center justify-center mb-4 lg:mb-0 w-full lg:w-auto mr-8 items-center">
  {/* Content */}
</div>

After:

<div className="flex  justify-center mb-4 lg:mb-0 w-full lg:w-auto mr-8 items-center">
  {/* Content */}
</div>

This change ensures that the element's styling is consistent while keeping the codebase cleaner. Please review and merge if it looks good.
Thumbs 👍 up for the tutorials.

Thank you!

'w-full' applies the same CSS property as 'w-6'
'w-full' applies the same CSS property as 'w-6'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant