News for hackers. Stuff that matters.
Re:Why website body text should be bigger by Doctor_Fegg on Tuesday May 02, 2017 @05:20PM (#14250731)
Worse than that is the fixed promo bar at the bottom.

As with most such bars, it breaks scrolling one screen at a time using Space or Page Down. So I get to read:

"Now, I’m not saying that small typography is bad. An 18px font is perfectly legible"

[press Space]

"captions, cards and other UI elements, but there’s good reason to increase it a few more notches for body text."

Fixing this is entirely doable - nytimes.com has a fixed navbar but Space still scrolls <1 screen at a time. I would expect better from a screed like this which proclaims "Scrolling is a natural, established pattern on the web - people expect to have to scroll."

Re:Why website body text should be bigger by pwg on Tuesday May 02, 2017 @05:38PM (#14250862)
This little bookmarklet [1] takes care of those fixed position items nicely:

javascript: (function%20()%20{var%20i,elements=document.querySelectorAll('body%20*');%20for%20(i=0;i<elements.length;i++)%20{if%20(getComputedStyle(elements[i]).position==='fixed'%20||%20getComputedStyle(elements[i]).position==='sticky')%20{elements[i].parentNode.removeChild(elements[i]);}}})();

Anything on the page styled as position: fixed or position: sticky is deleted. Cleans those things right up.

[1] https://en.wikipedia.org/wiki/Bookmarklet

Re:Why website body text should be bigger by Doctor_Fegg on Tuesday May 02, 2017 @05:51PM (#14250973)
You are a hero. Thank you.
Re:Why website body text should be bigger by gerdesj on Tuesday May 02, 2017 @08:06PM (#14251924)
Very useful.

Thanks.

Re:Why website body text should be bigger by notatoad on Tuesday May 02, 2017 @05:41PM (#14250893)
scrolling via space works perfectly for me on chromeos - the last line of visible text is the first line of visible text after hitting space.