added min-width auto for the buttons