• Resolved Margot Keller

    (@margotk)


    Hello,

    Is it possible to add a padding on the tooltip?

    As the tooltip is generated directly in the svg I don’t have the possibility to add a passing in CSS.

    Maybe you have another solution?

    Thank you for your help,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor pcarvalho

    (@pcarvalho)

    Hello Margot, thank you for using our plugin.

    you can enable the tooltip rich editor, which allows html, and so, you can add padding to the element itself.

    Here’s our documentation on how to enable the richt text editor for the tooltip: https://interactivegeomaps.com/docs/using-a-rich-text-editor/

    Best regards,
    Pedro Carvalho
    IGM Support

    Plugin Author Carlos Moreira

    (@carlosmoreirapt)

    Hi @margotk

    To simply add padding to the tooltip content and if you’re not able to use the rich text editor, you can use this custom css code in your page:

    .map_wrapper foreignObject div {
      padding:10px;
    }

    Greetings, Carlos

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add padding to tooltip’ is closed to new replies.