Skip to content

maxWidth parameter doesn't work #73

@peteralewis

Description

@peteralewis

The maxWidth parameter incorrectly sets the CSS value maxWidth, which is an invalid property.

maxWidth : max-width of the tooltip in px or % (for % add the value in quotes ex.'50%'). For usage you need to set width to '', false or null

Line 195 of the JS sets the CSS from the passed or default parameter:
maxWidth: obj.settings.maxWidth

But it needs to be max-width CSS property, so therefore doesn't currently work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions