Pattern for making a list horizontal