Do not set max line with on h1.
This commit is contained in:
parent
9a8fc75e1f
commit
5cffb74b65
1 changed files with 16 additions and 5 deletions
|
|
@ -20,11 +20,6 @@ h6,
|
||||||
font-family: var(--ff-headings);
|
font-family: var(--ff-headings);
|
||||||
font-weight: var(--fw-headings);
|
font-weight: var(--fw-headings);
|
||||||
line-height: var(--heading-line-height);
|
line-height: var(--heading-line-height);
|
||||||
|
|
||||||
// Set max text line width in main for readability.
|
|
||||||
.main & {
|
|
||||||
max-width: var(--max-line-width);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
|
|
@ -56,3 +51,19 @@ h6,
|
||||||
%h6 {
|
%h6 {
|
||||||
font-size: var(--fs-xs);
|
font-size: var(--fs-xs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h2,
|
||||||
|
%h2,
|
||||||
|
h3,
|
||||||
|
%h3,
|
||||||
|
h4,
|
||||||
|
%h4,
|
||||||
|
h5,
|
||||||
|
%h5,
|
||||||
|
h6,
|
||||||
|
%h6 {
|
||||||
|
// Set max text line width in main for readability.
|
||||||
|
.main & {
|
||||||
|
max-width: var(--max-line-width);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue