I’m using Obsidian version 1.5.3 without any third party plugins installed and without any theme installed, and I’m having the following problem after just changing the size of the live preview hover window with a custom CSS snippet (no problem when not changing the CSS snippet) :
The custom CSS snippet is as follows:
body{
.popover.hover-popover {
width: 53%;/Hover Window Size/
}
.popover.hover-popover .markdown-embed .markdown-embed-content {
width: 180%;/Hover text width/
}
} customization.css (191 Bytes)
Then, When the link object of the live preview is “callout blocks”, if there is no " - “, " 1.”, " 2." at the beginning of a sentence of “callout blocks”, part of the content of the live preview is visible. As shown in the figure below:
When the link object of the live preview is “callout blocks”, if there are " - ", " 1. ", " 2. " at the beginning of a sentence of “callout blocks”, part of the content of the live preview will not be visible. As shown in the figure below:
Thanks for the CSS snippet, it’s much more concise than mine (I don’t know how to code, I guessed the CSS snippet myself by looking at other people’s code before). It looks like that live preview bug has been there for a while, I hope the officials pay attention to it!
@ariehen not sure if it helps but by playing with your solution it seems like the “bugged offset” is constant for a created preview. Are there any @media queries that could affect this behaviour?