-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gallery view is single column #288
Comments
Hmmm, https://nextjs-notion-starter-kit.transitivebullsh.it/ shows the main repo deployed without any changes. The screenshots show that you've at least made additional changes beyond changing That being said, you're welcome to tweak the CSS in https://github.com/transitive-bullshit/nextjs-notion-starter-kit/blob/main/styles/notion.css to fit your needs. |
Ahhh I see what's going on. Your main collection here https://www.filmphoto.io is formatted properly, but the collection on your subpage https://www.filmphoto.io/cameras isn't formatted properly, right? I think the issue is https://github.com/transitive-bullshit/nextjs-notion-starter-kit/blob/main/styles/notion.css#L20-L22 This makes the home page slightly wider so it shows two columns by default, but on other pages this doesn't take effect by default. You'll need to tweak this to fix your issue. |
Great, thank you! |
I created a new page with a gallery view, similar to the index page. On this new page, the rendered page lists the sub pages in a single column.
Expected: gallery view is shown in two columns, as it is in Notion.
web page:
https://www.filmphoto.io/cameras
Notion page:
https://jaypozo.notion.site/Cameras-461c95e6745c4dc6ac8646b50fc73198
The text was updated successfully, but these errors were encountered: