HN Top New Show Ask Jobs

settings

Theme

Hand Mode

Feed

Comment by Wilduck

Comment by Wilduck 20 hours ago

0 replies

View on Hacker News

Viewport size and deciding where to paginate makes a naive approach to this surprisingly difficult. That being said, if you can control the css / html, you can often solve these problems with a short media query and some hints at where to break pages (e.g. https://developer.mozilla.org/en-US/docs/Web/CSS/break-after).