Site logo

Archived topic

Large gap between containers on tablet and Mobile

3 replies · Started by David on March 3, 2021

Viewing posts 1–4 of 4

Hi Everyone,
The site linked below has just gone live, and I am fine tuning some of the pages for tablet and mobile.

I am seeing a large gap between the two inner containers on smaller devices!
I have not worked out why I am getting this, checking all settings does not provide me with an obvious reason why!

There are 9 pages that have these calculators, and they have their own CSS for mobile.
Any ideas ? The custom css is provided below for the page linked.
TIA, Dave

@media screen and (max-width: 767px) {
    .VisiCalcClass {
        min-width: 100%;
        min-height:1250px;
        margin:0;
        padding:0;}

                #Budget_Planner { min-height:5000px !important; }
}

Hi there,

Any particular reason for the use of min-height? This particular css property is the main cause of the issue.

#Budget_Planner { min-height:5000px !important; } or `#Budget_Planner {
min-height: 2850px !important;
}` is the main culprit.

Thanks Elvin,
That is just what the calculator products documentation say to add.
I'll adjust and see how it goes...

I've removed the ID's it looks like they are not needed
I'll close this support request, I have another more urgent issue now!
Regards, Dave

I suggest removing it and let the element's contents occupy the height it needs.

No problem. :)

This archived topic is closed to new replies.