Although I set the minimum height of a container with “vh”, this value is not respected in the frontend.
I suspect this is related to the css variable “–bricks-vh” which inserts bricks.min.js as inline style in the html tag dynamically.
Although I set the minimum height of a container with “vh”, this value is not respected in the frontend.
I suspect this is related to the css variable “–bricks-vh” which inserts bricks.min.js as inline style in the html tag dynamically.
Have you got a URL that we can look at?
It seems to be lack of knowledge on my part, I assumed that the viewport height corresponds only to the initial loading of the browser and then does not change, but I just tested it with code and it seems to work the same as in Bricks. I apologize for the post.
I forgot to add that you can also use dvh (dynamic) visual height which will adjust if the browser introduces toolbars throwing out the initial height. Glad you got it sorted.