In SharePoint Online modern pages, how to limit the height of a web part (and show vertical scrolling if too many items)?

frob 4,261 Reputation points
2022-01-26T22:32:47.437+00:00

Hi there

In SharePoint Online modern pages, how to limit the height of a web part (and show vertical scrolling if too many items appear in the web part)?
(Not limiting items, but limiting height).

Thank you.

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Echo Du_MSFT 17,316 Reputation points
    2022-01-27T02:38:54.573+00:00

    Hi @frob ,

    How is everything going?

    According to my research, there is currently no way to modify the height of the Web Part, it is by design.

    As a workaround, you can change the size of the List web part to meet your needs.

    Please follow the steps:

    1.Edit page and select the List web part to display items

    2.Edit web part

    168861-web1.jpg

    3.Modify Size

    168862-web2.jpg

    4.Click Apply

    5.Republish/Publish page

    168790-web-part.gif

    Thanks,
    Echo Du

    ===================================

    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.


  2. Jeffsp 1 Reputation point
    2022-09-24T04:34:33.967+00:00

    The standard hero webpart is way too tall, and it doesn't seem to auto-fit to the size of the image.
    How do I make it take up less space (just want a narrow band across the top of the site)?

    Thanks.
    -- Jeffsp

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.