I’m afraid it is not possible to auto-resize the UML Class shapes so they show the long text correctly in the blocks. As a workaround, you can resize the whole shape or make the font size smaller.
Hope it helps!
Make your 2026 football predictions with Miro + enter to win $400!