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

fix: ui-center-issue on frequently asked question section #28

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

Conversation

akash02ab
Copy link

closes #22

  • Center FAQ items on desktop and mobile screens.

Approach

  • Added FAQ items under <div> with flex-column.
  • Given fixed width to parent div of FAQ items so that it won't shift when description is expanded.

Desktop View:

Screenshot 2024-01-15 at 22-27-33 SnapshortURL

Mobile View:

Screenshot 2024-01-15 223046

@ianujvarshney
Copy link
Member

Hello @akash02ab , kindly ensure that the alignment is set to center-left rather than full center. Additionally, please incorporate padding between elements for a visually appealing layout. It's essential to prioritize responsiveness to ensure a seamless display across various devices. If you have any questions, feel free to ask!

@akash02ab
Copy link
Author

akash02ab commented Jan 16, 2024

@ianujvarshney Few Questions:

  1. From where the center-left start?
  2. One way to align center-left is to give left padding to FAQ items, but in this case we have to give different padding for different screen break points. Or do you suggest any other solution?
  3. What would be ideal padding between elements (y-axis)? Should we keep less padding for mobile device and more for desktop?

@ianujvarshney
Copy link
Member

@ianujvarshney Few Questions:

  1. From where the center-left start?
  2. One way to align center-left is to give left padding to FAQ items, but in this case we have to give different padding for different screen break points. Or do you suggest any other solution?
  3. What would be ideal padding between elements (y-axis)? Should we keep less padding for mobile device and more for desktop?

@akash02ab Please prioritize fixing the initial FAQ to ensure proper padding and alignment. The padding adjustments should be made with the user's perspective in mind for an optimal viewing experience.

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 Issue in "Frequently Asked Questions" Section on Home Page
2 participants