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; text-transform: uppercase;
font-weight: 300; font-weight: 300;
letter-spacing: 2px; letter-spacing: 2px;
line-height: 32px; line-height: 24px;
margin-bottom: -25px; padding-bottom: 8px;
@include mq($from: tablet) { @include mq($from: tablet) {
display: inline-block; line-height: 40px;
line-height: 50px; padding-bottom: 0;
margin-bottom: 0;
font-size: 16px; font-size: 16px;
} }
} }
@@ -31,12 +31,12 @@
</f:case> </f:case>
<f:case value="8"> <f:case value="8">
<h1 class="headline headline--primary headline--underlined{f:if(condition: subheader, then: ' headline--has-subline')}"> <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> </h1>
</f:case> </f:case>
<f:case value="9"> <f:case value="9">
<h2 class="headline headline--secondary headline--underlined{f:if(condition: subheader, then: ' headline--has-subline')}"> <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> </h2>
</f:case> </f:case>
<f:case value="100"> <f:case value="100">