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

Force content to overflow containing div and not be hidden #371

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

abeverley
Copy link

Hi,

This might be me doing something wrong, but I have found that when displaying a y-axis in a separate div, that the content does not display correctly unless the containing div's height is tall enough for the axis labels (the div does not expand to the content). Whilst I could specify the containing div's height (to be the same as the graph), it would be better if that wasn't necessary.

You can see the problem here: http://jsfiddle.net/SSkHD/ (this is based on the main y-axis example, except I have removed the absolute div positioning).

This seems to be because an overflow:hidden is being inherited from somewhere (I couldn't work out where - it's not the svg block). I have found that adding overflow:visible to .rickshaw_graph works (as per this pull request), but I'm not sure whether this will adversely affect anything else. Removing the overflow:hidden from ".rickshaw_graph svg" does not work, and I assume that is there for a reason anyway).

Thanks,

Andy

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

Successfully merging this pull request may close these issues.

1 participant