Skip to main content
Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Unanswered

Work around on Auto adjusting the height of the section to any device

(0) ShareShare
ReportReport
Posted on by 12

So I deployed my portal to the web and all seems well if your device is on pc, but when opening the mobile version of my portal, this happened:
20210604_144558.jpg
a large gap between the banners and the image below is quite visible, I've already messed around the min height and box sizing but nothing seems to work, even creating a new section does create the same problem

  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at
    Re: Work around on Auto adjusting the height of the section to any device

    Hi @Mark3A ,

    This is a purely styling problem. Open your page in mobile view and inspect your image and section. Based on that observation you can see what classes are applied and how does CSS look like. After that, you can apply some styling to make it smaller (like restricting height for the containing box etc). You can including styling to your css files or by opening a page in Portal Management app and in the Advanced tab providing css. You can use media queries (see here) to apply new styles only on small screens.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35