eweitz / ideogram

Chromosome visualization for the web
https://eweitz.github.io/ideogram
Other
294 stars 71 forks source link

Overflow-x always on #124

Closed mtwichan closed 5 years ago

mtwichan commented 5 years ago

I've noticed that overflow-x is always on, which may make some applications with Ideogram not look so good. The solution to this, is to change overflow-x to auto here -> https://github.com/eweitz/ideogram/blob/master/src/js/init/write-container.js#L83. This way the user can still have the benefits of using overflow-x when it is necessary. I can make a PR for this if you like.

Example with overflow-x set to auto: with-auto

Example with current settings: with-scroll

eweitz commented 5 years ago

I can make a PR for this if you like.

That would be great, @matthewchan15.