question

SHUOH-8693 avatar image
0 Votes"
SHUOH-8693 asked RaytheonXie-MSFT answered

Regarding the width of Search Box in Modern Document Library in SharePoint 2019 On Premise

Hi there,

Is there any way to change the width of search box in Modern document library in SharePoint 2019 On Premise.??

Thanks

127767-untitled.png


sharepoint-devoffice-sharepoint-server-developmentoffice-sharepoint-server-customization
untitled.png (19.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RaytheonXie-MSFT avatar image
0 Votes"
RaytheonXie-MSFT answered

Hi @SHUOH-8693 ,
As the script editor web part is not supported in modern SharePoint.We can build an SPFx Extension (application customizer) to drop CSS to mordern page.
Here is the issue similar,Please refer to the following link:
https://sharepoint.stackexchange.com/questions/230061/sharepoint-365-add-custom-css-to-modern-pages


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.