Nov 12 2018 02:03 AM
Hi All,
I got a question from a user stating that they wonder why the Document Library webpart does not span the full width of the page? Any settings I'm missing or is this by design and cannot be changed?
I would be able to expand the webpart width over the marked space? If its possible?
Nov 12 2018 06:48 AM
Nov 12 2018 12:33 PM
Hi Chris,
thanks for the information, then I know that there is a limitation.
regards
Martin
Jan 27 2021 12:19 PM
@Martin Sagerstrand I too have a client asking the very same question.
Business justification:
With Document management libraries usually a couple of metadata columns need to be displayed and then full width makes a lot of sense.
The possibility for full witdh on Modern SharePoint is now only avialable (afaik) for Image and Hero Webpart.
The only thing required is the property fullBleed in the webpart's manifest.
How to add SPFx webpart to full-width column (velingeorgiev.com)
Can Microsoft SPO team react to this request, please?
Jan 28 2021 12:13 AM
@Carry4IT Megens interesting :)
I have seen many cases where a full with doc library would be a nice feature and users always asking why it cant be full with..
regards
Martin
Jan 28 2021 02:25 AM
@Martin Sagerstrand
Hi,
This is actually possible to configure with coding (adding a custom SPFx web part) that changes the limitations. However, this would require having maintenance, someone stand-by to be able to help out when Microsoft does changes to the core structure. So that the design changes can adapt to SharePoint responsive design.
The code itself only requires 3 lines of code at maximum. The real challenge is to have someone to understand what it does and be able to maintain it when required.
Yours sincerely,
Aref Halmstrand
Jan 28 2021 02:30 AM
I have uploaded an image here as example when using full width of the page.
Yours sincerely,
Aref Halmstrand
Jan 28 2021 02:50 AM
Jan 28 2021 03:18 AM
Nice,
yes that is a shame, this should def. be an OOTB feature
//Martin
Feb 04 2021 01:37 PM
Feb 04 2021 11:54 PM