Add a small margin to the off-screen post pop-up.
Without this margin you have to keep your mouse very still while hovering a post quote for a post that is off-screen, otherwise, by placing the mouse on the pop-up itself, the mouseover event is triggered and the pop-up disappears, making for a very annoying user experience when reading post pop-ups. This patch separates the pop-up from the mouse so that this doesn't happen.
This commit is contained in:
parent
686a9eed56
commit
51bea121ce
@ -77,6 +77,7 @@ onready(function(){
|
|||||||
.css('position', 'absolute')
|
.css('position', 'absolute')
|
||||||
.css('font-style', 'normal')
|
.css('font-style', 'normal')
|
||||||
.css('z-index', '100')
|
.css('z-index', '100')
|
||||||
|
.css('margin-left', '1em')
|
||||||
.addClass('reply').addClass('post')
|
.addClass('reply').addClass('post')
|
||||||
.insertAfter($link.parent())
|
.insertAfter($link.parent())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user