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

Scaling and width weirdness in live preview mode #21

Open
aldanor opened this issue Oct 17, 2022 · 2 comments
Open

Scaling and width weirdness in live preview mode #21

aldanor opened this issue Oct 17, 2022 · 2 comments

Comments

@aldanor
Copy link

aldanor commented Oct 17, 2022

In the Reading mode everything's fine (although it would be nice to be able to assign a zoom – #20).

In Live Preview mode, there's a few issues with scaling which is likely caused by the fact that the SVG keeps rescaling with the window width (CSS issue? Missing classes? IIRC there's a few extra classes in the live preview editor like cm6-scroller or something like that...).

  1. Reading mode, container width = line width:

image

  1. Live preview mode, container width = line width:

image

  1. Reading mode, container width > line width:

image

  1. Live preview mode, container width > line width (note the scrollbar appearing at the bottom):

image

@TilBlechschmidt
Copy link
Collaborator

TilBlechschmidt commented Oct 17, 2022

Rescaling.mov

Unless I am misunderstanding your explanation I can not reproduce that particular issue 😢
Are there maybe some local CSS changes in your theme that might affect it in your installation? I am on version 1.0.0 just in case that makes a difference.

@aldanor
Copy link
Author

aldanor commented Oct 17, 2022

Gotcha - just tried creating a new blank vault, this doesn't happen on 1.0 with the new default theme indeed, but does happen on Minimal theme...

... which is a bit weird given that the new default theme is a port of the Minimal theme developed by the same person.

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

2 participants