Forum Discussion

BrianThy's avatar
BrianThy
Copper Contributor
Apr 30, 2025

Hide Scrollbar for Document Library Web Part

I am trying to clean up a document library web part to function as a dynamic list of items for visitors. I don't want any distractions or unsightly things. Which is why I removed the "see all" button and individual checkboxes. 

However, I cannot figure out how to remove the scrollbar even by changing the column width in the library view. Is there a way to do this in JSON or am I missing something with the column widths?

 

 

1 Reply

  • Rob_Elliott's avatar
    Rob_Elliott
    Bronze Contributor

    Changing the width in the library view would have no effect on the web part. In the web part all you need to do is to hover over the name column and drag the right hand edge to the left until the scrollbar disappears as in the before and after image below.


    Rob
    Los Gallardos
    Microsoft Power Automate Super User
    Global Power Platform Lead, WSP (and classic 1967 Morris Traveller driver)

Resources