Skip to content

Negative font sizes for h2, h3 #15

@atomsmith

Description

@atomsmith

When using Chrome Developer Tools, I noticed that h2 and h3 elements have invalid font sizes. These originate from the following declarations in configuration/nucleus/_typography.scss:

$h2-font-size: $core-font-size - 1.60 !default;
$h3-font-size: $core-font-size - 1.50 !default;

Since $core-font-size is 1rem, the compiled CSS is:

h2 {
font-size: -0.6rem; }

h3 {
font-size: -0.5rem; }

Should those subtractions be additions instead?

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