Skip to content

Remove Safari line-height browser bug fix (Orig title: Allow more options for line-height, e.g. unitless) #11

@ronilaukkarinen

Description

@ronilaukkarinen

I love using megatype for responsive typography, but in every element modular scale is not needed or necessary, but even for those elements it's nice to have "automated" sizing. However, if I set the type with typeset-mixin, I can't override line-height value. Here's an example:

    @include min-width(3 4) {
      @include typeset($sans, 18px, 36px, 0, 2);
      line-height: 1.5;
    }

Is it possible to have it like this: @include typeset($sans, 18px, 1.5, 0, 2);, or that the mixin would respect the definition after it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions