Skip to content
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

Bad html output structure #142

Open
kmlbgn opened this issue Nov 29, 2023 · 2 comments
Open

Bad html output structure #142

kmlbgn opened this issue Nov 29, 2023 · 2 comments

Comments

@kmlbgn
Copy link

kmlbgn commented Nov 29, 2023

It seems my recent loconotion runs are producing pages with bad html structure which I'm struggling to troubleshoot:

  • Some pages have no inner margin left/right, content starts and ends on each side of the screen:
image
  • Some others have a left margin, but not right one:
image

Is anyone getting the same? Might be caused by yet another change from notion side ?

Maybe also related with #136

@kmlbgn
Copy link
Author

kmlbgn commented Dec 7, 2023

Nobody has the same issue ?

@kmlbgn
Copy link
Author

kmlbgn commented Dec 9, 2023

I am now 80% confident this is due to recent notion changes that made some of their styling structure dynamic, probably to accommodate a broader range of displays such as mobile phones.
The problem is the .css file downloaded and cached by Loconotion using chrome driver is different from the css file I get by inspecting the published page on my browser. The script is ran in a container environment which further increase odds for this theory.
Likely this is also due to the fact loconotion runs chromedriver headless by default, but non-headless option crashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant