Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
FYI: I don't know the web Part ID , I know the web part title
In SharePoint online, the web part will adjust the width and height to fit zone by default like the picture below.
If you want to change the width and height of the web part, you could select “Yes” and type the value of the width and height when editing the web part.
Required, but never shown