Fixed min-width calculation to correctly sum horizontal margins.