Search widget on footer not displaying correctly on mobile/tablet

Hi, I added a search widget at the end of the global footer and it displays correctly on the desktop but not on mobile and tablet. Can you tell me how I can fix it please? Thank you.