When embedding an image map on a modern page, how do you get rid of the vertical scrollbar in Embed web part?

vrm 691 Reputation points
2022-11-14T13:58:31.363+00:00

If I add the image to the page, the full image displays. If I embed the aspx file of the site map based on the image, I get a vertical scrollbar in the Embed web part.
If I put the aspx URL into an iframe with dimensions (trying various dimensions), the vertical scrollbar remains.
Yes, Resize to fit the page is on.
When the site map is added to a classic page using a Content Editor web part linking to the site map code, the image map displays with no scrollbar.
Thanks.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,621 questions
{count} votes

Accepted answer
  1. AllenXu-MSFT 16,081 Reputation points Microsoft Vendor
    2022-11-15T06:59:21.257+00:00

    Hi @vrm ,

    I'm afraid no OOTB way can remove the vertical scrollbar in Embed web part. You can provide your feedback here: https://feedbackportal.microsoft.com/feedback/forum/06735c62-321c-ec11-b6e7-0022481f8472.

    As an alternative, have a try to inject custom CSS to the page using modern script editor web part to remove the scrollbar.

    ----------

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful