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

Fill width for resourceTimeline view #385

Open
LMarcinkowski opened this issue Nov 25, 2024 · 2 comments
Open

Fill width for resourceTimeline view #385

LMarcinkowski opened this issue Nov 25, 2024 · 2 comments

Comments

@LMarcinkowski
Copy link

Zrzut ekranu 2024-11-25 o 22 35 09

Is it possible to make this view responsive?

@vkurko
Copy link
Owner

vkurko commented Nov 28, 2024

For resourceTimelineMonth only:

.ec-timeline.ec-resource-month-view .ec-time, .ec-timeline.ec-resource-month-view .ec-line {
    width: 150px;
    flex-grow: 1;
}
.ec-timeline.ec-resource-month-view .ec-main {
    flex-grow: 1;
}
.ec-timeline.ec-resource-month-view .ec-header .ec-day {
    flex-direction: row;
}

You can notice that in this case the 150px value works as a minimum column width.

@LMarcinkowski
Copy link
Author

With this settings, events are not "responsive" . I set this css to resouceTimelineDay but it works same in month and week.
Zrzut ekranu 2024-12-2 o 17 18 39
Zrzut ekranu 2024-12-2 o 17 18 25

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