Force whitespace to seperate subline from headline

This commit is contained in:
Björn Fromme
2020-01-02 15:17:01 +01:00
parent cda14d1199
commit f8f0fab80b
2 changed files with 6 additions and 7 deletions
@@ -222,13 +222,12 @@ h4 {
text-transform: uppercase;
font-weight: 300;
letter-spacing: 2px;
line-height: 32px;
margin-bottom: -25px;
line-height: 24px;
padding-bottom: 8px;
@include mq($from: tablet) {
display: inline-block;
line-height: 50px;
margin-bottom: 0;
line-height: 40px;
padding-bottom: 0;
font-size: 16px;
}
}
@@ -31,12 +31,12 @@
</f:case>
<f:case value="8">
<h1 class="headline headline--primary headline--underlined{f:if(condition: subheader, then: ' headline--has-subline')}">
<f:if condition="{subheader}"><span class="headline__subline">{subheader -> f:format.raw()}</span><br></f:if>{header -> f:format.raw()}
<f:if condition="{subheader}"><span class="headline__subline">{subheader -> f:format.raw()}&nbsp;</span></f:if>{header -> f:format.raw()}
</h1>
</f:case>
<f:case value="9">
<h2 class="headline headline--secondary headline--underlined{f:if(condition: subheader, then: ' headline--has-subline')}">
<f:if condition="{subheader}"><span class="headline__subline">{subheader -> f:format.raw()}</span><br></f:if>{header -> f:format.raw()}
<f:if condition="{subheader}"><span class="headline__subline">{subheader -> f:format.raw()}&nbsp;</span></f:if>{header -> f:format.raw()}
</h2>
</f:case>
<f:case value="100">