added min-width to ui

battle images won’t break anymore,
also refactored some inefficient css