fix the viewport variables

This commit is contained in:
panr 2020-11-16 00:25:10 +01:00
parent 60a15e7b38
commit c3f51a4c11
7 changed files with 13 additions and 13 deletions

View File

@ -9,5 +9,5 @@
--tabletWidth: (max-width: 900px);
}
@custom-media --phone (width < 684px);
@custom-media --tablet (width < 900px);
@custom-media --phone (max-width: 684px);
@custom-media --tablet (max-width: 900px);

View File

@ -48,7 +48,7 @@
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
{{ end }}
{{ end }}
{{ if $.Site.Params.showLanguageSelector }}
{{ if and $.Site.Params.showLanguageSelector (len $.Site.Home.AllTranslations) }}
<hr />
{{ range $.Site.Home.AllTranslations }}
<li>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long