hide empty page header on mobile view
parent
7abcc895a0
commit
a5c72664f2
|
@ -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 New Issue