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

how can i add space between the timelinerow and also how to give name and display it in the timeline row #50

Open
ggibin8 opened this issue Apr 16, 2024 · 3 comments

Comments

@ggibin8
Copy link

ggibin8 commented Apr 16, 2024

Screenshot 2024-04-16 1134277

@DongLee0504
Copy link

DongLee0504 commented Apr 30, 2024

image

.timeline-editor-action{ height: 28px !important; }

@rochindev
Copy link

rochindev commented Jun 28, 2024

.timeline-editor-action{ height: 28px !important; }

This works in a way that makes them thinner. Im wondering how you made it to get them to that width with all that space in between 🤔

@rochindev
Copy link

rochindev commented Jun 28, 2024

.timeline-editor-action{ height: 28px !important; }

This works in a way that makes them thinner. Im wondering how you made it to get them to that width with all that space in between 🤔

Got it now, for some reason playing around with the styles and re-rendering the DOM to see the changes would make them apply incorrectly (maybe its a ReactVirtualize issue?). So what worked for me was:
<Timeline rowHeight = {X} />
and in the CSS:
.timeline-editor-action{ height: (X-Y)px !important; }

X being the size of the row you want in pixels and Y being however smaller the amount you want the actions to be.

And at the end refreshing my browser to see the correct changes, not re-rendering the DOM.

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