ftlabs / ftcolumnflow

A polyfill that fixes the inadequacies of CSS column layouts
MIT License
633 stars 51 forks source link

Prevent horizontal scrolling on vertical layout #5

Closed jackp closed 12 years ago

jackp commented 12 years ago

Hello,

How would you go about preventing the horizontal scrolling on vertical layouts? In your example (http://ftlabs.github.com/ftcolumnflow/3.html) a horizontal scrollbar gets placed since the #target node still contains the width of the horizontally placed pages.

jackp commented 12 years ago

Fixed the issue. Just give a max-width to the #target equal to the width of the viewport