Change hub to no longer use flex box and use `display: inline-block` instead. Closes #636.