Hello everyone,
I am having a hard time working with embedded single PDF pages.
I have a note with multiple PDF embeds of the same file, each showing a different page of the document through internal linking ( ![[(file).pdf#page=(number)] )
What I’m trying to do
But I find it very tedious that scrolling through the note occasionally also scrolls through the respective PDFs when the cursor is on top of it while scrolling. I would like to have the pages sit statically inside of the note, without being able to scroll it - or at least avoid the scrolling while the cursor is hovering over the embed.
Is there a way around this?
I have tried to search for fitting CSS snippets, but I was not able to find any.
There appears to be a solution in another tool by somehow limiting overflow. But I am not proficient in CSS at all which heavily limits my understanding of how this would be applicable for Obsidian.
I would love this too, would be super useful for TTRPG books and other reference without having to screenshot and crop and manage more assets to have the same effect.
This approach blocks all pointer events, not just scrolling. So other actions like selecting text, right-clicking to get the link to the selection, … won’t work.
If someone knows a better solution, I would love to learn it so please let me know
Update 2024
My plugin PDF++ supports this as one of its options.
Are you aware of a method to fit the embedded page to a height that has been set in markdown?
I know there’s a (Fit Height) function for it via the toolbar - but since the toolbar is (thankfully) neither visible nor accessible now, I was wondering if there was a method to force this continually.