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

[REQUEST] Separator row height for multi-line displays #39

Open
secastles opened this issue Jan 3, 2020 · 0 comments
Open

[REQUEST] Separator row height for multi-line displays #39

secastles opened this issue Jan 3, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@secastles
Copy link

I'm using the maximumDaysPerLine option and I wanted to increase the spacing between the rows. I tried adding custom CSS but that just ended up changing the spacing between ALL the rows in the module. I just wanted to increase the row height between the rows that are created when the calendar entries wrap to multiple lines. Anyway, I created a kludge by editing the js as such:

if (idx % this.config.maximumDaysPerLine == 0 && idx > 0) {
	wrapper.appendChild(row);
	row = document.createElement("tr");
        wrapper.appendChild(row);
	row = document.createElement("tr");
}

... I'm sure there's a better way. Ideally we could change the row height using CSS values (maybe line-height or something).

(also I'm not sure if this is the best way to submit suggestions so if there's a better way please let me know)

@heskja heskja added the enhancement New feature or request label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants