ozntel / oz-image-in-editor-obsidian

This Obsidian plugin to view Images, Transclusions, iFrames and PDF Files within the Editor without a necessity to switch to Preview.
339 stars 13 forks source link

How can I adjust the height of the preview box for quoting notes in the editing state? #98

Closed MILKMILKKING closed 2 years ago

MILKMILKKING commented 2 years ago

How can I adjust the height of the preview box for quoting notes in the editing state? Sometimes when quoting another note, if that note has a lot of content, in the edit state, using the ! [[note]] will show all the contents of the note, which takes up a lot of editing space. How can I adjust the height of the preview box to be smaller? If I use CSS, what code should I write? I don't know anything about code.

ozntel commented 2 years ago

Within the new release the max height is fixed to 600px. You can change using oz-transclusion-widget class and overwrite max-height attribute