Skip to content

Commit

Permalink
NO-REF: Fix header when banner is up (#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylevillegas93 authored Nov 4, 2024
1 parent 43802e8 commit 1ac22ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# CHANGE LOG

## [Prerelease]
- Fix header when banner is up

## [0.18.6]
- Add submit feedback error handling and new fields
Expand Down
2 changes: 1 addition & 1 deletion src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class MyDocument extends Document<DocumentProps> {
minHeight: "100vh",
}}
>
<div id="nypl-header"></div>
<div id="nypl-header" style={{ flexShrink: 0 }}></div>
<Script
src="https://ds-header.nypl.org/header.min.js?containerId=nypl-header"
strategy="beforeInteractive"
Expand Down

0 comments on commit 1ac22ee

Please sign in to comment.