nextjs-notion-starter-kit
nextjs-notion-starter-kit copied to clipboard
Anomaly behavior of code blocks under a list
Description Thanks in advance for this fantastic project and your support!
Recently, I discovered some issues regarding to the code block under lists - length of the block would be various depending on the length of the code. It’s acceptable if the code is short.

But things go too far when it comes to any long code. The block would just go out of the box and break the page.
Mean while, font size of associating texts would become larger.(mostly on mobile devices)

Seems that these only happens to code blocks belong to lists.
PS. Is it possible to wrap code automatically?

Hope I’ve made this issue clear and thanks again for your wonderful work!
Notion Test Page ID
5744fe430dcf40548d96e779eb4730cb
I noticed this before with images too. If an image is within a bulleted list it will extend "off" the page.
I noticed this before with images too. If an image is within a bulleted list it will extend "off" the page.
I checked it with some images and they are working well here on my side.
Any update regarding this? 😀