I wish the width is set to suit the full content when the content is too long, in the meantime, when the content is too short, it should have the width of the parent box.