Skip to content

Fix: center button text in primary button#361

Open
Ayeshaxsa wants to merge 1 commit into
VAIBHAVBABELE:mainfrom
Ayeshaxsa:fix-btn-txt-alignment
Open

Fix: center button text in primary button#361
Ayeshaxsa wants to merge 1 commit into
VAIBHAVBABELE:mainfrom
Ayeshaxsa:fix-btn-txt-alignment

Conversation

@Ayeshaxsa
Copy link
Copy Markdown

@Ayeshaxsa Ayeshaxsa commented Aug 31, 2025

🔖 PR Title: Fix: Center alignment of button text on homepage

📄 Description:

This PR fixes a minor UI inconsistency where button text such as "Open", "Play Now", and "View Syllabus" appeared slightly left-aligned on the homepage. The text is now properly centered to improve overall visual balance and consistency.

🧑‍💻 What changes were made?

  • Added text-align: center; to the .primary-button class in index.css

📚 Documentation Updated?

-No

🖼️ Screenshot or Screen Recording (max 15 seconds)

📸 Attach screenshot or screen recording showing the updated section (mandatory for all changes).

Screenshot 2025-08-31 075110 ---

💡 Tech Stack Used:

  • HTML / CSS / JavaScript

List of File Changed :

no. of file changed :

1 - index.css

🔗 Issue Reference:

Closes #360 UI Enhancement: Center-align button text for better visual consistency


🧩 Contribution Type:

  • Frontend 🎯

🙏 Additional Info (if any):

This is my first open source contribution 😊.
I’ve tried to follow the contribution guidelines, but I’m open to any suggestions or corrections if something needs improvement..

@vercel
Copy link
Copy Markdown

vercel Bot commented Aug 31, 2025

Someone is attempting to deploy a commit to the vaibhavbabele's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown

👋 Hi @Ayeshaxsa, thank you for opening this Pull Request!
🔧 Please ensure the following:

  • ✅ Resolve any merge conflicts, if they exist.make sure you have updated your local repo to avoid conflicts. and solve in your local repo. do not solve in github editor.try to solve in your local repo in vs code or any other editor.
  • 🧾 Clearly mention the issue number you are solving (e.g., Fixes #issue_number).
  • 📎 Please update your PR description if anything is unclear or incorrect.
  • 📷 Attach a screenshot or screen recording of your fix.
  • 💬 Kindly share the PR link in the Discord server manually for better tracking.
  • if follow the guidelines and fit to project then label according to pr otherwise close the pr.

Happy Contributing! 🚀

@VAIBHAVBABELE
Copy link
Copy Markdown
Owner

NOT consider for point

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.

UI Enhancement: Center-align button text for better visual consistency

2 participants