adjusted max and min width some elements