notion-enhancer / notion-repackaged

notion executables with the notion-enhancer embedded & a vanilla port of the official app to linux
https://notion-enhancer.github.io/getting-started/installation
MIT License
908 stars 52 forks source link

Text align/justify mismatch between online and notion-app-enhanced #127

Open Xirious opened 5 months ago

Xirious commented 5 months ago

Hello all,

I do not know if this intended behaviour or a bug. If it is intended behaviour please point me to where it needs to be fixed/change in the settings to get the same behaviour as the notion website.

A few things I've tried:

Any help would be appreciated.

What is happening? Text in the center or side peek mode is center justifying text. This looks particularly bad when the app is snapped to the sides.

What should be happening? I expect notion-enhancer to reproduce the same output I am seeing on the notion website. That is the text should not be center aligned / justified and should be left aligned and not justified.

Screenshots (if applicable): Center peek (left is https://notion.so and right is notion-app-enhanced): image

Side peek (notion-app-enhanced): image

From notes:

Operating system/browser name & version:

notion-enhancer and/or notion-repackaged version:

notion-enhancer configuration (enabled/disabled mods and their settings):

dragonwocky commented 5 months ago

Thanks for the detailed report, you can use this CSS snippet to fix this until I can finish the next release (paste it into text file ending in .css and upload it via the tweaks mod):

.notion-page-content {
    --theme--page_preview-padding: 0;
}
Xirious commented 5 months ago

Thank you @dragonwocky - that worked perfectly!