Fixes a bug resulting from #3569 that caused the entity header to cut off the top of the page. This was addressed by taking a different approach to fixing the entity header bug that was resolved in #3569, which resolved both issues.
Original bug: header shifted off-screen on initial page load on narrow browser window sizes.
New bug: header cut off the top of the page (due to being removed from the document flow).
Tested that both bugs were resolved in Chrome and Safari.
Screenshots/Video
Original bug on prod:
https://github.com/user-attachments/assets/0043111f-d370-41ad-8b1e-3c99c8344c24
Resolved original bug locally:
https://github.com/user-attachments/assets/c8155da6-09ee-4d1c-8249-9b0c5326007b
Resolved new bug locally:
https://github.com/user-attachments/assets/6c91cff6-2366-47b3-bae7-6375866b5e34
Checklist
[X] Code follows the project's coding standards
[X] Lint checks pass locally
[X] New CHANGELOG-your-feature-name-here.md is present in the root directory, describing the change(s) in full sentences.
[X] Unit tests covering the new feature have been added
[X] All existing tests pass
[X] Any relevant documentation in JIRA/Confluence has been updated to reflect the new feature
[X] Any new functionalities have appropriate analytics functionalities added
Summary
Fixes a bug resulting from #3569 that caused the entity header to cut off the top of the page. This was addressed by taking a different approach to fixing the entity header bug that was resolved in #3569, which resolved both issues.
Original bug: header shifted off-screen on initial page load on narrow browser window sizes. New bug: header cut off the top of the page (due to being removed from the document flow).
Design Documentation/Original Tickets
CAT-955 Jira ticket
Testing
Tested that both bugs were resolved in Chrome and Safari.
Screenshots/Video
Original bug on prod:
https://github.com/user-attachments/assets/0043111f-d370-41ad-8b1e-3c99c8344c24Resolved original bug locally:
https://github.com/user-attachments/assets/c8155da6-09ee-4d1c-8249-9b0c5326007bResolved new bug locally:
https://github.com/user-attachments/assets/6c91cff6-2366-47b3-bae7-6375866b5e34Checklist
CHANGELOG-your-feature-name-here.md
is present in the root directory, describing the change(s) in full sentences.