NotionX / react-notion-x

Fast and accurate React renderer for Notion. TS batteries included. ⚡️
https://react-notion-x-demo.transitivebullsh.it
MIT License
4.69k stars 544 forks source link

style(notion-page-scroller): change min-height #512

Open luckfunc opened 11 months ago

luckfunc commented 11 months ago

Description

When I use the Page Id "2a3890eac9624780abf5d08b534d050b" to access the homepage, if the page content exceeds the height of the screen, it looks fine. However, when the page content doesn't exceed the height of the screen, it appears to have some issues.

vercel[bot] commented 11 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
react-notion-x ✅ Ready (Inspect) Visit Preview Aug 13, 2023 6:25pm
react-notion-x-minimal-demo ✅ Ready (Inspect) Visit Preview Aug 13, 2023 6:25pm
luckfunc commented 11 months ago

Deleting the `

` element from Next.js Examples will also result in the same issue of a scrollbar appearing when the content is smaller than the webpage height. As shown in the image below: image