If it is submitted online, the width is less than 5cm, just fill it with a blank bottom (Photoshop is to change the canvas size directly)
If submitted in paper, the trademark will not exceed the border size as long as it is attached to the box, and it will be fine if it is less than 5cm. After scanning, the box size will be directly used as the trademark size.