Skip to content

Fixed widh of timeline cell on any screen width #942

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

Closed
alexHlebnikov opened this issue Nov 25, 2024 · 2 comments
Closed

Fixed widh of timeline cell on any screen width #942

alexHlebnikov opened this issue Nov 25, 2024 · 2 comments

Comments

@alexHlebnikov
Copy link

Hi!

I was trying to figure out how it make width of timeline cell always same, f.e. 24px, without any resize because of screen width change? Example: timeline width is 100% - 360px (sidebar width), so if my screen width is 1200px, I should see 940/24 = approx. 39 days on my timeline. And if screen width is 1920px, I should see 1560/24 = approx. 65 days on my timeline.

Is this behaviour possible to achieve with this library?

@alexHlebnikov
Copy link
Author

Found a way to do this.

@roszczypalam
Copy link

Thx for the info. Can you share the answer ?

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

2 participants