I have a css to hide list search box on document libraries. It's in the SiteAssets library. 

I can edit a document library view and add Content Editor webpart and add css reference and able to hide.

 However, I added following code to masterterpage after `core.css` but it doesn't fire. Any idea why?

    <SharePoint:CssRegistration name="<% $SPUrl:~SiteCollection/SiteAssets/hideSearchBox.css%>" runat="server"  After="corev15.css" />
    
    The css is 
    
    <style>
    .ms-inlinesearch-divbaseline{ display: none !important;}
    </style>