max/min width adjustment