Adjust layout for search and login style