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

Refactor: Aligned the button content in center #1710

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

poswalsameer
Copy link

Description

This PR solves the issue of button content not being in center because of some inconsistent styling used in the example.css file. Refactored the code by introducing flexbox in it and aligning everything to the center.

Fixes: #1220

Implementation

Just needed to figure out where the applied class is present. Found it, and got to know that flexbox is not applied to it correctly. So changed the classes accordingly.

Tests

Basic CSS change, no tests required.

Todos

No

Additional context

Attaching the screenshot of the code file changed for reference:
Screenshot (116)

…ake sure the button content is aligned in center
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

Successfully merging this pull request may close these issues.

Alignment of button content
1 participant