Skip to content

2.0 Adds line-heights to font-size utilities by default which overtakes .leading-tight in specify #2808

Closed
@ghost

Description

introduced by 7d10259

When doing

h1 {
  @apply leading-tight text-5xl;
}

The outcome is

@media (min-width: 1024px)
.lg\:text-5xl {
    font-size: 3rem;
    line-height: 1;
}

Overtakes

h1 {
    font-size: 3rem;
    line-height: 1;
    line-height: 1.25;
}

in specify
IE:
DevTools_-_localhost_4001_

Also Just noticing the other odd-looking line-height: 1; on h1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions