Forum Discussion

Jasondefaoite2's avatar
Jasondefaoite2
Copper Contributor
Jan 22, 2023

Sharepoint Oneline and PowerBI webpart aspect ratio

If I use the PowerBI webpart to embed a report into a Sharepoint page, there is a padding of 20px added to the bottom of the report. 

 

In the above screenshot, the report is 16:9, and the orange line is the border of the report.

Looking through the CSS, the webpart height is calculated as padding-top: calc(56.25% + 20px); The height of 56.25% of the width is 16:9, perfect, but why is that 20px additional padding there?

I don't have access to edit the css on the site to correct this. Any ideas?
 

Resources