Skip to content

Commit

Permalink
See pewresearch/pewresearch-org@1777c19 from refs/heads/release/5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
prcdevgitbot committed Mar 6, 2024
1 parent c9d0082 commit e9f0c4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blocks/navigation-mega-menu/src/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ const { state, actions } = store('prc-block/navigation-mega-menu', {
const height = navBlock.offsetHeight;
context.top = height + 1;

// Everything below is heavily cribbed from Nick Diego for the js math window math.
const bodyStyles = window.getComputedStyle(document.body);
const rootPaddingLeft = bodyStyles
.getPropertyValue('--wp--style--root--padding-left')
Expand Down

0 comments on commit e9f0c4a

Please sign in to comment.