Open y9san9 opened 2 weeks ago
img
tags have a default margin on the top and bottom
if you want to override the img
margins, you can do so in custom.scss
.
For example, assuming every image you want without margins is named something like *16x16*
, you could do something like below:
img[src*="16x16"] {
margin: 0 0;
}
But in Obsidian itself inline images doesn't have padding
Describe the bug
I have an image with size 16x16 which is the same as I expect text to be. Using the following code I get two different results in Obsidian and in the deployment.
Renders in Obsidian as:
While after deploy it looks like this:
Expected behavior
Line height is not changed my images that has lesser height than the line.