Others

Fix Distorted Iframe Content in the SharePoint Embed Web Part

Jason MillerJason Miller Nov 22, 2026 868 views

Question details

The user needs to prevent embedded iframe content from appearing resized or distorted on a modern SharePoint page.

Fix Distorted Iframe Content in the SharePoint Embed Web Part
Product
Microsoft SharePoint Embed web part
Device & OS
not provided
Scenario
Displaying iframe content in an Embed web part on a modern SharePoint page.
Observed behavior
The embedded content appears to change size or aspect ratio, potentially depending on browser zoom and the web-part layout.
Before you start

Open the affected SharePoint page and confirm that you can edit it. Identify the embedded source and its intended dimensions or aspect ratio so you can compare them with the displayed result.

Solution 1Recommended

Check browser zoom and Embed web part layout

Use these checks to identify whether the apparent distortion comes from browser zoom, the page layout, or the web part's sizing option.

1
Reset browser zoom

Open your browser's zoom controls, set zoom to 100%, and reload the SharePoint page.

2
Edit the web part

Select Edit on the SharePoint page, then select the Embed web part and its Edit web part button to open its settings.

3
Test the resize setting

If Resize to Fit the Page is available, test it both enabled and disabled. Save or republish the page as needed and compare the displayed content.

4
Review the layout and dimensions

In page edit mode, check the section and column layout around the web part. Review the iframe's width and height in the embed code and compare their ratio with the source content.

Check browser zoom and Embed web part layout
Check available settings: Web part options and the space available for embedded content can vary by page layout and embedded source.
Free Microsoft Office alternative

Work with Office documents in WPS Office

WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format compatibility make moving everyday files straightforward. It does not change SharePoint Embed web part settings.

Open and edit Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTX.Use familiar document, spreadsheet, and presentation tools in one lightweight suite.Prepare Office files for sharing without relying on a SharePoint iframe.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my SharePoint iframe look smaller than expected?

Browser zoom, the page's section or column width, iframe dimensions, and the web part's resize setting can affect its displayed size. Reset browser zoom to 100%, then check the Embed web part settings in page edit mode.

Where can I find Resize to Fit the Page?

Select Edit on the SharePoint page, select the Embed web part, and open Edit web part. If the option is available, test it both on and off.

How can I preserve the embedded content's aspect ratio?

Check that the iframe width and height match the intended proportions. If you control the embedded source, use responsive sizing and an aspect-ratio container in its HTML or CSS.

Can I add custom CSS directly to the Embed web part?

The modern Embed web part may not accept arbitrary wrapper HTML or CSS. If custom styling is needed, apply it to the embedded source page when you control that page.