Currently, I am struggling to set up a background that automatically adjusts in height as new content is added. What I want to achieve is for the background to cover the entire screen (100vh) if there is no content, and then adjust its height as content is added, stopping at a minimum height of 100px. I have provided an image below to give you a better idea of what I am aiming for.
https://i.sstatic.net/guJ6X.png
Despite my efforts with properties like min/max/100%/auto height in CSS, I haven't been able to find a solution yet. My current project setup involves Vue 3, TypeScript, and CSS.
If anyone could provide some guidance or help, it would be greatly appreciated. Thank you!