obsidian-plugin-abcjs
obsidian-plugin-abcjs copied to clipboard
Scaling and width weirdness in live preview mode
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...).
- Reading mode, container width = line width:
- Live preview mode, container width = line width:
- Reading mode, container width > line width:
- Live preview mode, container width > line width (note the scrollbar appearing at the bottom):
https://user-images.githubusercontent.com/5037967/196262474-6a56f35b-eaf1-475b-80ba-7a42751c180a.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.
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.