Multiverse Feedback: Cardlist | Visual spoiler | Export | Booster | Comments | Search | Recent activity |
Mechanics | Upcoming releases | Skeleton |
CardName: Position of tooltips in small window Cost: W Type: Enhancement Pow/Tgh: / Rules Text: I'm not sure if this is just me, but when my browser window is the wrong size (say, just fractionally less than the height of a preview), the preview tends to bottom-align with the link, but aligning with the top to the top of the window would be more visible. Flavour Text: Set/Rarity: Multiverse Feedback Common |
History: [-] Add your comments: |
This is almost certainly not worth spending much time on, but was something I noticed. It may only be my browser, I don't know for sure. (Almost all sites with a mouseover preview do something similar, so it's not just multiverse.)
shrink the name for readability
Yeah, I've noticed this. The tooltip library generally makes cards hover below the pointer location. It's smart enough to detect if that will be off the bottom of the window, and if so it makes them hover above the pointer. But it's not smart enough to then also detect if that will go off the top of the window.
It might be somewhat fiddly to fix this, because the tooltip library I'm using is under terms to not modify its source. But I might be able to find some way.
"it's smart enough to detect if that will be off the bottom of the window, and if so it makes them hover above the pointer. But it's not smart enough to then also detect if that will go off the top of the window."
Yeah, I suspected something like that, but I wasn't sure what, and wasn't sure if it was your code or third-party. Not being able to improve it is quite annoying, but the problem is probably not high priority.