简体   繁体   中英

Remove padding in outlook web add-in dialog

This is probably impossible due to the nature of how MS has shaped their office / outlook web add-in structure: any add-in runs in an Iframe, communicates with the Office JavaScript API and can trigger dialogs that themselves run in another Iframe.

I would like to remove the padding in the below screenshot: 在此处输入图片说明

The padding is (probably) coming from MS' Fabric style library . The problem is that due to the Iframe nature, one does not have access to override those styles. It is, however, very much impeding styling of the dialog to one's design...

Thanks Michael for reaching out. Yeah we include the padding to encourage a similar feel across the dialogs. Yes you're right that this is coming from Fabric control. Why would you want to remove the padding - would you want to take advantage of that space? Is current design not working well for your UI? If that's the case, a screenshot might help illustrate it, if you could share one.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM