Submit button disappearing in Drag and drop

I've created a drag and drop and embedded it in a Label in Totara. When I first add it, it fits in the space, then it resizes automatically and cuts off the submit button - see attachment.

Any advice on how to stop this from happening?