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

[feature]: Improve Timeline Component Readability #2155

Open
1 task done
samehelgazar95 opened this issue May 13, 2024 · 3 comments
Open
1 task done

[feature]: Improve Timeline Component Readability #2155

samehelgazar95 opened this issue May 13, 2024 · 3 comments

Comments

@samehelgazar95
Copy link

samehelgazar95 commented May 13, 2024

Is there an existing issue for this feature?

  • There is no exsiting issue for this feature

Summary

The current timeline component on the website has the timeline indicator (dates) left-aligned and the text right-aligned, as shown in the attached image. This makes it difficult to read and understand the information at a glance.
current-design

I propose that the timeline text and indicator are aligned vertically, as shown in the attached image. This would improve the readability of the component and make it easier for users to understand their progress.

First Suggestion Solution:
suggestion-1

Second Suggestion Solution:
suggestion-2

Your purposed solution for this feature

Two options to vertically align text and indicator:

Flexbox: Set container's flex-direction: column for vertical stacking. Adjust margins for spacing.
Inline-block: Set text paragraphs to display: inline-block and adjust margins for alignment.

@samehelgazar95 samehelgazar95 changed the title [feature]: Improve Timeline Component Readability, Vertical Alignment for Timeline Text and Indicator [feature]: Improve Timeline Component Readability May 13, 2024
@samehelgazar95
Copy link
Author

I'd be happy to help implement this change if it's helpful. Please let me know if there's anything I can do.

@m7d2
Copy link

m7d2 commented May 26, 2024

I like the first suggestion; it's more readable that way.

@aliraheel626
Copy link

first suggestion is certainly better

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

No branches or pull requests

3 participants