beaverbuilder / feature-requests

Feature request board for Beaver Builder products.
26 stars 4 forks source link

Add svh to the Minimum Height unit dropdown #347

Open zackpyle opened 7 months ago

zackpyle commented 7 months ago

Is your feature request related to a problem? Please describe. When setting a row or column at 100vh on mobile, this height changes based on if the browser's UI elements adding/removing themselves as you scroll. The svh unit was made to take care of this issue.

Describe the solution you'd like Please add svh to the Minimum Height unit dropdown Screenshot 2023-11-17 at 09 57 16

Describe alternatives you've considered Only alternative is to write this CSS yourself or deal with the height changing / background size shifting while scrolling.

Additional context The CSS generated by Beaver Builder should add it as vh as a fallback. So something like this would be generated:

min-height: 100vh;
min-height: 100svh;
zackpyle commented 7 months ago

As I mentioned here, maybe across all of Beaver Builder, we just need a final option in every dropdown that allows the user to type in their own units...

mrlennyman commented 5 months ago

Yes please - plus one for this