Add a Resize to fit / Fit artboard to content button Most modern design software has a feature to fit the artboard / frame to the size of it’s contents like this: