I have a Document Library web part on my modern page in which I’d only like the users to see 4 of the 7 columns. I would normally hide the extra three columns, but due to a JSON script, they have to be visible. So my thinking is that If I can remove the horizontal scroll bar, the users won’t know those extra 3 columns are there.
Is there a way to remove the horizonal scroll bar on a Modern Document Library Web Part? I have a Modern Script Editor Web Part I could use if this task is doable.