You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @Rivol0gY,
I'll reduce the distance in reading mode a little in the coming update (same value as below).
If you want to adjust it to your liking you'll need this in a CSS snippet:
hr {
margin:1.5em0;
}
Reading mode renders your files quite a bit differently to how Source / Live Preview do so you will never get it exactly the same for a lot of elements. I always try to get it as close as I can.
Hi @Rivol0gY,
This issue should now be resolved in Prism 3.5.2. I've changed the values to what I mentioned above. If you want to keep the margins slimmer then do keep using your CSS snippet.
I'm used to add a line (
![Live Preview](https://private-user-images.githubusercontent.com/169937755/330924596-a58148c0-ae67-40af-a19b-d8df9536d546.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMzkyMTUsIm5iZiI6MTczOTMzODkxNSwicGF0aCI6Ii8xNjk5Mzc3NTUvMzMwOTI0NTk2LWE1ODE0OGMwLWFlNjctNDBhZi1hMTliLWQ4ZGY5NTM2ZDU0Ni5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwNTQxNTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02YmYxZjZjYzNjN2U4OGI0ZGNmZjAxZjhhODU1NDY2YjgzYTQ2ZjkwNzkyNTc2MzA0MGJiOWQ1N2E5ODQxNTVmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.3oVnfHlCSjF3YHJ4i0o95VlqFDkSEL8C40nu5llDLUw)
***
or---
) below a heading and it renders perfectly in "Live preview" view with no additionnal spacing:Once I toggle to "Reading" view, it adds a spacing that I would like to remove:
![Reading](https://private-user-images.githubusercontent.com/169937755/330924619-621d1fd8-745d-42af-9eab-d0623d889298.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMzkyMTUsIm5iZiI6MTczOTMzODkxNSwicGF0aCI6Ii8xNjk5Mzc3NTUvMzMwOTI0NjE5LTYyMWQxZmQ4LTc0NWQtNDJhZi05ZWFiLWQwNjIzZDg4OTI5OC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwNTQxNTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hN2NjYzc3ZjRhMWU3ODFkN2U5ZWViOWZkMzcxNDUzMGVjMWQ4MTkzOGU2NGE0N2M5NTg1OTdkZjMwZjMwZWQ0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.5kQTd54JWrcdVuY8PKJi6wBwQth3KSPLPlMRkBgbjZU)
I would like to have the same behavior between "Live preview" and "Reading" view.
I'm presuming that a slight tuning of the CSS code is sufficient to remove the spacing / padding in "Reading" view.
Is it possible to add it as a feature or explain it in the documentation?
Thanks a lot for your understanding.
PS: I pasted two images, the first one is in "Live Preview" and the other is in "Reading" view.
The text was updated successfully, but these errors were encountered: