Support persistent column width in modern Document Library web part
When using a Document Library webpart on a modern page, persistent column widths are not persistent. When refreshing the page, the width setting resets. Users should be able to set a fixed column width though, for all columns. Wouldn't mind if this is done via JSON formatting.
Agree with Jan, and just tried a workaround:
1. Add Modern Script Editor (download group github)
2. Add CSS in the web part:
width: 600px !important;
define the "aria-colindex" to resize the column width
Michael Campblel commented
This is a real issue for our users...we should be able to set a column width
Just to be sure: this is about the modern Web Part only, when added to a modern page. When navigating directly to the list or library, the set width persists after saving the view. The web part just does not seem to be aware of the changed column width.