diff --git a/sass/parts/_header.scss b/sass/parts/_header.scss index a6ceebb..75daa89 100644 --- a/sass/parts/_header.scss +++ b/sass/parts/_header.scss @@ -31,7 +31,6 @@ header { flex-wrap: inherit; justify-content: inherit; align-items: inherit; - gap: inherit; gap: 1px; margin: 0; padding: 0; @@ -39,7 +38,13 @@ header { } } -#menu-icons-group { +.menu-icons-container { + display: flex; + align-items: center; + margin-left: auto; +} + +.menu-icons-group { gap: 1px; margin: 0; padding: 0; @@ -168,6 +173,10 @@ header { display: flex; justify-content: center; } + + .menu-icons-container { + margin-left: 0; + } } @media only screen and (max-width: 600px) { diff --git a/templates/partials/nav.html b/templates/partials/nav.html index f4b0948..a3d5a95 100644 --- a/templates/partials/nav.html +++ b/templates/partials/nav.html @@ -26,31 +26,33 @@ {% endfor %} {%- endif -%} - {#- Wrap the icons in a div to keep them all together -#} -
+ {# Theme switcher #} + {%- if config.extra.theme_switcher and config.extra.theme_switcher == true -%} + {%- include "partials/theme_switcher.html" -%} + {%- endif -%} + + {% endif %}