• Resolved hecategaming

    (@hecategaming)


    Hello!

    Thanks a lot for this wonderful plugin πŸ™‚

    I have a long list of items (universities) on my tooltips but the content gets cut off on the live map (for example, the US tooltip). Is there any way to show the full list on tooltips?

    Thank you in advance!

    Ana

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Carlos Moreira

    (@carlosmoreirapt)

    Hi @hecategaming

    It seems the US tooltip content is very long, so it will be difficult to make it fit the available space. One way to do it would be to make the text smaller and maybe with multiple columns.

    You could use this css code to make all tooltips smaller and with columns:

    .imapsLabel foreignObject * {
    font-size:0.8em;
    column-count: 3;
    }

    But you would only need this for some, so you could have some code in your longer tooltips to have a div with a specific class to apply these styles. And from my tests, even with 3 columns the content for the US tooltip won’t fit, it’s just too long.

Viewing 1 replies (of 1 total)
  • The topic ‘Tooltip Cuts Off the Content’ is closed to new replies.