implement max-content-width