Moved the display-inline class to the <li> elements.