FeatureFuel
6

Implementing max-height for containers when using min-height

Source: elementor/elementor#28484 · opened by @StenderIternum
Prerequisites • I have searched for similar feature requests in both open and closed discussions and cannot find an existing request. • I have verified that the feature is still missing from the latest stable versions of Elementor or Elementor Pro. What problem is your feature request going to solve? Please describe.. In containers, when using min-height, I am sometimes using things like calc(100vw* 0.41875); to follow an images format, and not crop or skew the background image - basically the same as vh, but following the width instead. Problem is that this can be extremely large on. screens like 4K - So I would like to implement a min-height like 50vh, but also have a max-height of 500px. This can't be done as it is right now - even though max-height has CSS priority, setting selector{max-height:500px} is doing nothing. I have also tried with clamp() in the custom min height, but this is also not working. clamp(calc(100vw * 0.41875), calc(100vw * 0.…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests