add display:inline-block to fix the sizing for the links when theyre in small screen.