-
-
Notifications
You must be signed in to change notification settings - Fork 434
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
Bug report: excessive spacing in live preview #743
Comments
I noticed the same. |
I'm just guessing, but LP may be using different HTML elements / CSS classes than the old renderer did. I'll see what I can do to fix it; I'm probably going to just focus on live preview support in the future over the legacy renderer now that they have feature parity. |
This is how I mostly solved it in Admonitions. |
Why is there so much spacing by default on paragraph elements? That's kind of crazy. |
The |
Yes, a lot of styles are being inherited from the dynamic CM6 classes. Lists are especially bad, from a rogue I also found that the In general, the CSS I linked to in Admonitions made rendered markdown look the same as it does in Reading mode for me. |
Messing too much with this appears to mess up table/list rendering, but I've applied a similar fix to paragraphs and spans to make them a little less painfully separated. I'll have to fine tune this more later once I understand live preview spacing better. |
- Fix #798: Fix duration -> string implementation to use `minimalDuration`. - Fix #743: Improve paragraph/span spacing in live preview. - Fix #775: Add empty result warnings to task view. - Fix #733: Add `?no-dataview` to disable dataview renders. - Fix #792: Fix block link detection in tasks. - Fix #799: Fix 'Task' -> 'Calendar' documentation typo. - Fix #789: Fix date(tomorrow) typo.
What happened?
using
dv.paragraph
ordv.span
in live preview results in excessive spacing, that does occur on and off, but is reliably reproducible in the help vault where only dataview has been installed. see this video.Screen.Recording.2021-12-27.at.23.31.42.mov
DQL
No response
JS
Dataview Version
0.4.21
Obsidian Version
Obsidian 0.13.14
OS
MacOS
The text was updated successfully, but these errors were encountered: