Skip to content

Commit

Permalink
fixed an issue where there was a 1 px gap between the popup and the t…
Browse files Browse the repository at this point in the history
…op of the page
  • Loading branch information
sharmrj committed Jan 13, 2025
1 parent dc630cb commit cd9ed02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/blocks/global-navigation/global-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ class Gnav {
const offset = this.block.classList.contains('has-promo')
? 'var(--feds-height-nav) - var(--global-height-navPromo)'
: 'var(--feds-height-nav)';
popup.style = `top: calc(${iOSy || y || 0}px - ${offset} - 1px`;
popup.style = `top: calc(${iOSy || y || 0}px - ${offset} - 2px`;
}
makeTabActive(popup);
} else if (isDesktop.matches && this.newMobileNav && isSectionMenu) {
Expand Down

0 comments on commit cd9ed02

Please sign in to comment.