Fix missing title when screen < 365px
Fixed issue where title and subtitle disappear when screen width is less than 365px
This commit is contained in:
parent
917f5fef57
commit
f1c6df1122
2 changed files with 27 additions and 5 deletions
|
|
@ -4,9 +4,14 @@
|
|||
{{ end }}
|
||||
|
||||
<header class="header-section {{ if isset .Params.bigimg 0 }}has-img{{ end }}">
|
||||
<div class="intro-header {{ if isset .Params.bigimg 0 }}big-img{{ else }}no-img{{ end }}">
|
||||
{{ if isset .Params.bigimg 0 }}
|
||||
<div class="intro-header big-img">
|
||||
{{ partial "header.html" . }}
|
||||
<span class="img-desc" style="display: inline;"></span>
|
||||
</div>
|
||||
{{end}}
|
||||
<div class="intro-header no-img">
|
||||
{{ partial "header.html" . }}
|
||||
<span class="img-desc" style="display: inline;"></span>
|
||||
</div>
|
||||
</header>
|
||||
{{ else }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue