Skip to content

Lower font-size headings combined with underline should have larger line-height #4538

@Febakke

Description

@Febakke

Version number

No response

Description of the bug

When you use a 2xs heading that is styled as a link with underline. The line-height will get to short. One issue with this is that the underline will start to touch the line beneath it if the text breaks into multiple lines.

We use em as a line-height value so it will scale with font-size. We need to test what dynamic value to set to avoid this.

Image

Steps To Reproduce

  1. Test a 2xs card with a heading over multiple lines

Additional Information

@Thunear suggested changing offset and not line-height We should do some testing to find a value that will work with all sizes on a single line and on multiple lines

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions