fix(nav): always right align search and dark mode icons

Also change nav links to be left aligned in the demo.
This commit is contained in:
George Cushen committed 2019-01-22 18:35:53 +00:00
1 parent 0a78ba6856
commit 8a7c4eb2aa
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -118,7 +118,7 @@ publication_types = [
]
# Align the main menu to the right of the page? (true/false)
menu_align_right = true
menu_align_right = false
# Link custom CSS and JS assets
# (relative to /static/css and /static/js respectively)
+1 -1
View File
@@ -66,7 +66,7 @@
{{ end }}
{{ end }}
{{ if and (not $align_right) (or .IsTranslated .Site.Menus.main_right) }}
{{ if not $align_right | and (.IsTranslated | or .Site.Menus.main_right | or .Site.Params.search.engine | or .Site.Params.day_night) }}
</ul>
<ul class="navbar-nav ml-auto">
{{ end }}