SOLVED

Section does not go full width of page

%3CLINGO-SUB%20id%3D%22lingo-sub-1239178%22%20slang%3D%22en-US%22%3ESection%20does%20not%20go%20full%20width%20of%20page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1239178%22%20slang%3D%22en-US%22%3E%3CP%3EI%20created%20a%20Modern%20site%20and%20when%20I%20add%20a%20Document%20Library%20web%20part%20to%20a%20one-third%20column.%20The%20web%20part%20is%20extremely%20narrow.%20It's%20not%20even%20wide%20enough%20to%20show%20the%20complete%20document%20names.%20How%20can%20I%20get%20this%20section%20to%20expand%20to%20the%20full%20page%20width%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20red%20square%20below%20shows%20the%20wasted%20white%20space%20that%20I%20would%20like%20my%20document%20library%20to%20expand%20into.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22empty_space.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F178205iAC4B979907B5719D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22empty_space.png%22%20alt%3D%22empty_space.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1239178%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1239322%22%20slang%3D%22en-US%22%3ERe%3A%20Section%20does%20not%20go%20full%20width%20of%20page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1239322%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F421392%22%20target%3D%22_blank%22%3E%40michaelkubala%3C%2FA%3E%26nbsp%3B-%20if%20you%20want%20the%20library%20to%20be%20full%20width%2C%20you%20could%20add%20another%20section%20below%20the%202%2F3%20%2B%201%2F3%20section%20to%20be%20full%20width%20and%20drag%20the%20library%20there.%20On%20Modern%20Pages%2C%20there%20does%20feel%20like%20too%20much%20white%20space%20on%20either%20side%20of%20the%20web%20parts.%20No%20idea%20what%20the%20thinking%20is%20behind%20that.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1241919%22%20slang%3D%22en-US%22%3ERe%3A%20Section%20does%20not%20go%20full%20width%20of%20page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1241919%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F19689%22%20target%3D%22_blank%22%3E%40Kelly%20E%3C%2FA%3E%26nbsp%3B%20yeah%20at%20least%20with%20the%20old%20SharePoint%20environments%20you%20could%20get%20around%20limitations%20with%20CSS%20or%20JavaScript%20hacks.%20I%20don't%20think%20those%20old%20tricks%20work%20with%20SPO%20modern%20pages.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1249714%22%20slang%3D%22en-US%22%3ERe%3A%20Section%20does%20not%20go%20full%20width%20of%20page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1249714%22%20slang%3D%22en-US%22%3E%3CP%3EThey%20don't!%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F421392%22%20target%3D%22_blank%22%3E%40michaelkubala%3C%2FA%3E%26nbsp%3Bas%20much%20as%20I%20appreciate%20the%20modern%20interface%2C%20I%20do%20miss%20how%20easy%20it%20was%20to%20add%20some%20script%20to%20a%20page%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

I created a Modern site and when I add a Document Library web part to a one-third column. The web part is extremely narrow. It's not even wide enough to show the complete document names. How can I get this section to expand to the full page width?

 

The red square below shows the wasted white space that I would like my document library to expand into. 

 

empty_space.png

3 Replies
best response confirmed by michaelkubala (Contributor)
Solution

Hi @michaelkubala - if you want the library to be full width, you could add another section below the 2/3 + 1/3 section to be full width and drag the library there. On Modern Pages, there does feel like too much white space on either side of the web parts. No idea what the thinking is behind that.

@Kelly_Edinger  yeah at least with the old SharePoint environments you could get around limitations with CSS or JavaScript hacks. I don't think those old tricks work with SPO modern pages. 

They don't! @michaelkubala as much as I appreciate the modern interface, I do miss how easy it was to add some script to a page :)