width based on the element + add maxwidth in option