Back to front pageView on Hacker News (opens in a new tab)Show HN: Hacker News frontpage as a print newspaper that you can personalize (opens in a new tab)yourhackernews.com564 pointsby nimbusega (on Hacker News)2 years agoComments (139) 51 threadsShow all commentsShowing thread 29 of 51[-]nightpool2 years ago2 replies#Very cool! Looks like it has an XSS vector though :Phttps://i.imgur.com/5bbKiFc.pngnightpool2 years ago#The print stylesheets are also kind of broken. With my printer's default margins, the page becomes an overlapping mess: https://i.imgur.com/lTlFz4l.pngAnd even with margins turned off, stories are split "across" pages in a way that makes them useless for printing: https://i.imgur.com/SvmTGa8.png Need to pay more attention to your "break-inside" properties: https://developer.mozilla.org/en-US/docs/Web/CSS/break-insid... (and switch from using JS-generated absolute styles to using a CSS column layout or masonry grid)nimbusega2 years ago#Thank you! I missed that in my sleepiness. Should be fixed now.
Show HN: Hacker News frontpage as a print newspaper that you can personalize (opens in a new tab)yourhackernews.com564 pointsby nimbusega (on Hacker News)2 years ago
nightpool2 years ago2 replies#Very cool! Looks like it has an XSS vector though :Phttps://i.imgur.com/5bbKiFc.png
nightpool2 years ago#The print stylesheets are also kind of broken. With my printer's default margins, the page becomes an overlapping mess: https://i.imgur.com/lTlFz4l.pngAnd even with margins turned off, stories are split "across" pages in a way that makes them useless for printing: https://i.imgur.com/SvmTGa8.png Need to pay more attention to your "break-inside" properties: https://developer.mozilla.org/en-US/docs/Web/CSS/break-insid... (and switch from using JS-generated absolute styles to using a CSS column layout or masonry grid)
Comments (139) 51 threads
Show all comments
Showing thread 29 of 51
https://i.imgur.com/5bbKiFc.png
And even with margins turned off, stories are split "across" pages in a way that makes them useless for printing: https://i.imgur.com/SvmTGa8.png Need to pay more attention to your "break-inside" properties: https://developer.mozilla.org/en-US/docs/Web/CSS/break-insid... (and switch from using JS-generated absolute styles to using a CSS column layout or masonry grid)