Hacker News new | ask | show | jobs
by dredmorbius 2906 days ago
None of those sheets except for Annoyances should be applied globally.

I don't guarantee Annoyances won't break other things, but I do guarantee that the others will.

Assign the to a nonexistent URL or domain initially, or disable them.

If you've got specific bugs with the Annoyances sheet ... I may be able to address them.

My usual first-stop debugging tools are adding either an outline or background colour to an element:

    outline: solid 2px red;
    background: #faa;
... which tends to show what rule(s) are being triggered. If something breaks, add those rules, and disable the "display: none;" one.

I'm also finding that the shift to "display: flex;" styles is breaking some of my assumptions. It's no longer safe to presume that everything is displayed as one of block, inline-block, or inline.

Position directives are also problematic: initial, static, relative, absolute.

That said: I've evolved those styles over a few years, and they tend to work reasonably well. Some nursemaiding required.