zotero/styles-repo

Increase offset of style preview

rmzelle opened this issue · 5 comments

The current preview overlays are positioned very close to the left, so there is only a very small mouse target for the covered styles (just two letters wide):

image

Moving the overlays a little to the right would help a lot, I think.

(it's currently difficult to switch from the "3 Biotech" preview to the "3D Printing in Medicine" preview by sliding the cursor downwards)

I'm also having issues in Chrome with the vertical positioning, with the top of the preview being cut off:

image

Increased offset is live

I can reproduce the cut-off-top issue when filtered to APA.

Seems like, for the cut-off issue, Drop might do the positioning incorrectly when the container/page ends? So it flips the popup up even though there's a lot more room on the page. This is more pronounced after a70db1f.