hide empty page header on mobile view
This commit is contained in:
parent
7abcc895a0
commit
a5c72664f2
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
{{end}}
|
||||
{{end}}
|
||||
|
||||
<div class="gdoc-page__header flex justify-between" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
|
||||
<div class="gdoc-page__header flex justify-between{{ if not $geekdocRepo }} hidden-mobile{{ end }}" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
|
||||
{{$showBreadcrumb := (and (not .Page.Params.geekdocBreadcrumb) (not .Site.Params.geekdocBreadcrumb))}}
|
||||
<span>
|
||||
{{if $showBreadcrumb}}
|
||||
|
|
|
@ -457,7 +457,7 @@ img {
|
|||
}
|
||||
}
|
||||
|
||||
.gdoc-page__header .breadcrumb {
|
||||
.gdoc-page__header .breadcrumb, .hidden-mobile {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue