janniks / vue-notion

A fast Vue renderer for Notion pages
https://vue-notion.now.sh
Other
870 stars 62 forks source link

Nuxt : bad display in a Layout without fullPage attribute #48

Closed xianbinKit closed 3 years ago

xianbinKit commented 3 years ago

Without fullPage

image

With fullPage

image
janniks commented 3 years ago

Hi 👋 Yes, this is intentional. Typically, you will use vue-notion as a content type. You need to provide layout, etc. for your site, so Notion can be used as a content source.

You can do this by adding your own CSS. e.g. using max-width on a parent element of the NotionRenderer. Hope this helps…