Skip to content

Conversation

viktorrenkema
Copy link
Contributor

Summary

  • add shared helpers to normalize page cover height metadata
  • render page covers using the configured height and hide them when set to zero
  • ensure layouts and image styles respect the dynamic cover height

Testing

  • bunx biome check packages/gitbook/src/components/PageBody/coverHeight.ts packages/gitbook/src/components/PageBody/PageCover.tsx packages/gitbook/src/components/PageBody/PageCoverImage.tsx packages/gitbook/src/components/PageBody/PageBody.tsx packages/gitbook/src/components/SitePage/SitePage.tsx

https://chatgpt.com/codex/tasks/task_b_68e7f162517c83209b5a8ee9871f00cb

Copy link

changeset-bot bot commented Oct 9, 2025

⚠️ No Changeset found

Latest commit: 88fe9e9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented Oct 9, 2025

Summary of the deployments:

Version URL Status
Vercel
Cloudflare

Test content

Site 2v 2c
GitBook /url/gitbook.com/docs /url/gitbook.com/docs
E2E /url/gitbook.gitbook.io/test-gitbook-open /url/gitbook.gitbook.io/test-gitbook-open

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant