use maximum available width on mobile

and set a max-width on desktop, otherwise the distance between
info and commands can get huge.