Revert "move max width"

This reverts commit d4bdd782b50191fea80d859070373f157eef873f.
Revert "Revert "move max width""

This reverts commit 39b14549bf68bf3fea281d904a345651390b54b2.