diff --git a/blocks/header/header.js b/blocks/header/header.js index 929450c..254a3e0 100644 --- a/blocks/header/header.js +++ b/blocks/header/header.js @@ -73,23 +73,6 @@ function buildLogoNode() { return logoNode; } -function buildLanguageNavigation() { - const languageNavigation = document.createElement('li'); - const svgChevron = ''; - languageNavigation.classList.add('language-navigation'); - languageNavigation.innerHTML = ` -
- - `; - return languageNavigation; -} - function buildNavigationWithNavigationItems() { const navNode = document.createElement('nav'); const ulNode = document.createElement('ul'); @@ -108,7 +91,6 @@ function buildNavigationWithNavigationItems() { }); navNode.setAttribute('aria-expanded', 'false'); navNode.id = 'nav'; - ulNode.appendChild(buildLanguageNavigation()); return navNode; } diff --git a/styles/styles.css b/styles/styles.css index 0500686..eb22a13 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -244,7 +244,7 @@ pre { /* buttons */ -a.button:any-link, button, form .hs-button, main .form .button, header nav li:nth-last-child(2) a { +a.button:any-link, button, form .hs-button, main .form .button, header nav li:nth-last-child(1) a { font-family: var(--body-font-family); display: inline-flex; position: relative; @@ -265,7 +265,7 @@ a.button:any-link, button, form .hs-button, main .form .button, header nav li:nt align-items: center; } -nav ul li:nth-last-child(2) a { +nav ul li:nth-last-child(1) a { --button-border-color: transparent; }