• Resolved pracko

    (@pracko)


    Would love to see a setting for max height on containers. So far, all the rest is working fantastic!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tom

    (@edge22)

    Hi there,

    We do have a min-height option, but I’m not sure how a max-height option would work. What would happen to the inner content once it became taller than the max-height?

    Thread Starter pracko

    (@pracko)

    With a (max) height set on both containers, the inner container’s height would need to be set less than the outer container’s height.

    Reason I ask is because in a section with a background image (outer container) on a page I’m working on, the outer container (“section”) takes up way too much real estate in the viewport on mobile devices, so I want to set a height/max-height on that to lessen the amount of space it takes up. The inner container is centered vertically and there’s just too much space above and below it.

    Plugin Author Tom

    (@edge22)

    I guess the question there is why the section is taking up way too much real estate on mobile? Padding?

    Any chance you can link me to the page?

    Thread Starter pracko

    (@pracko)

    Hey Tom, no it wasn’t padding. I played around with it a bit and stuck with the min-height option on mobile. Works just as well and seems best option so as to avoid the inner container issue you mentioned. Cheers.

    Plugin Author Tom

    (@edge22)

    Awesome, glad you found a solution 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Request: Container Max Height’ is closed to new replies.