Skip to content

Commit

Permalink
Merge pull request #241 from hlxsites/bug/footer-issues
Browse files Browse the repository at this point in the history
Footer issue fixed
  • Loading branch information
pardeepgera23 authored Dec 11, 2023
2 parents f4ad48a + 796bbd0 commit 4a27ba9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion blocks/header/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ function addClassesToMenuItems(element, depth) {
if (parentElement.tagName.toLowerCase() === 'strong') {
link.setAttribute('target', '_blank');
}
if (link && link.href === window.location.pathname) {
if (link && link.pathname === window.location.pathname) {
item.classList.add('active');
}
const childElement = item.querySelector('ul');
Expand Down
5 changes: 5 additions & 0 deletions styles/Typo.css
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,11 @@ body.mrna input[type="submit"]:hover {
line-height: 1.1em!important;
}

.block-small {
font-size: 12px!important;
line-height: 1.1em!important;
}

.no-inner-space {
padding: 0!important;
}
Expand Down
4 changes: 0 additions & 4 deletions styles/template.css
Original file line number Diff line number Diff line change
Expand Up @@ -659,10 +659,6 @@ body.sidebar-50 #sidebar {
padding: 0
}

#footer-orange li.hs-menu-depth-1.menu-num-1,#footer-orange li.hs-menu-depth-1:first-child {
display: none!important
}

#footer-orange li {
padding: 0
}
Expand Down

0 comments on commit 4a27ba9

Please sign in to comment.