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

RangeSlider.Preview component - make element same height as preview SVG #577

Open
pstanton opened this issue Jul 25, 2017 · 0 comments
Open

Comments

@pstanton
Copy link

I am having to include this after I initialise my RangeSlider.Preview

		slider = new Rickshaw.Graph.RangeSlider.Preview({
			graph : graph,
			element : $("#slider")[0]
		});
		// this should be done automatically
		$("#slider").height($("#slider svg.rickshaw_range_slider_preview").height());

Otherwise, follow-on content overlaps with the SVG.

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

1 participant