RiDeag / Stilig

Stilig - 4chan Userstyle
http://rideag.github.io/Stilig/
28 stars 17 forks source link

Thread Watcher header flickers/disappears #2

Closed ghost closed 11 years ago

ghost commented 11 years ago

This bug started happening when I updated to 4chanX 1.2.2.

Remove hover visibility toggle on the X (for removing a thread from the watcher) seems to help stop the constant flickering for the WATCHER header:

#watcher div > a[href="javascript:;"],
#watcher .close {
  visibility:collapse!important;
}

#watcher:hover div > a[href="javascript:;"],
#watcher:hover .close {
  visibility:visible!important;
}

However, this is not a real solution and it still happens pretty consistently when you have 4chan open in more than one tab. Hovering over most elements on the page (an image or a link to a board or post) will get it to snap back into visibility and stay visible.

ghost commented 11 years ago

It seems to stem from displaying the inline watcher. I'm no expert, but this worked for me:

#watcher div > a[href="javascript:;"],
 #watcher .close {
-   position:relative!important;
+  position:fixed!important;

Though now I have to go back and re write the part that lets me close the watched threads...

ghost commented 11 years ago

Nevermind! Fixed to work with inline.