noatpad/obsidian-banners

Suggestion: Option to set banner height as percent of viewport height

riverLethe9 opened this issue · 1 comments

I think that being able to change how the banner height is calculated would improve performance across multiple devices. 500px may look great on my 25" monitor but not on my 13" laptop. Being able to set the height as 20vh would make the banner look just as good on all displays.

This could probably be implemented by adding a dropdown to the settings panel in Obsidian that allows users to choose whether they want the height to be in pixels or viewport height.

I wish my javascript skills were good enough that I felt confident to work on the implementation. Alas, they are not. Thank you for your work!

i made a pr on this.