Skip to content

Align Vertical Timeline to one side without compact #2834

Closed Answered by saadeghi
kuatroka asked this question in Q&A
Discussion options

You must be logged in to vote

It's supposed to be in the center, otherwise if the width was elastic to the content, there would be no way to align the line to the center.

There's a way to set a fixed width to the left column by adding [--timeline-col-start:4rem] class:
https://play.tailwindcss.com/dNTRB3UT2C

Let me know if you have a question.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@kuatroka
Comment options

@saadeghi
Comment options

@kuatroka
Comment options

@GodBleak
Comment options

Answer selected by saadeghi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants