Skip to content

Line height is applied to span element which doesnt work with lower values #2

@kujain

Description

@kujain

When we select the content, the parent element (

) is selected and a span element is added within this. However, if a value is selected which is smaller than the default line height value of the

element, it doesn't work. Basically the line-height never goes less than the parent's line height value.

Its probably a css property (inline property cannot have a lower line height than its parent?) but that makes it difficult to provide a dropdown for selecting line heights that are smaller than the current. Unless it can be applied to the parent itself and not a a span.

Please let me know if there's a way around this...thanks!

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