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 date text alignment for two-column left timeline elements #132

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

fix date text alignment for two-column left timeline elements #132

wants to merge 1 commit into from

Conversation

katejh
Copy link

@katejh katejh commented Dec 24, 2021

If someone's app's default text alignment is not left, then for VerticalTimelineElements with a left position, the date will be aligned accordingly within its column rather than next to the timeline icon.

The fix is to simply set text-align: left; so that date text will not inherit its alignment from parent elements.

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