Hi @john john Pter ,
Welcome to Q&A forum!
IsDlg=1
is used to hide the left and top navigation bars, and the blank space above is used to show the drop-down toolbar, so IsDlg=1
is useless.
Embed web part cannot deeply change the CSS of the data source, so the working behavior of the web part will be consistent with the data source. The same is true for the "the event will be shown on the embed web part with all the other screen sections which is not very user friendly" that you find troubling. If this bothers you very much, you may want to try using the modern script editor web part to see if it can achieve your needs.
For your reference:
https://sharepoint.handsontek.net/2023/03/15/use-script-editor-modern-sharepoint-sites/
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
Good day!
If the answer is helpful, please click "Accept as Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.