Skip to content

Instantly share code, notes, and snippets.

@alirobe
Last active February 25, 2020 09:18
Show Gist options
  • Save alirobe/456d7a30023eaf087359e37806325326 to your computer and use it in GitHub Desktop.
Save alirobe/456d7a30023eaf087359e37806325326 to your computer and use it in GitHub Desktop.
Reduce Dynamics 365 v9 Field Spacing
if(!window.parent.document.querySelector('style#v9removepadding')) {
var style = window.parent.document.createElement('style');
style.id = "v9removepadding";
style.innerText = ".acwallEmailView .emailexpandedaccordion { margin:0; width:100% } TABLE.ms-crm-FormSection td { padding: 4px 1px 1px 16px !important; min-height: 26px; }";
window.parent.document.body.appendChild(style);
}
@alirobe
Copy link
Author

alirobe commented Feb 25, 2020

Thanks for the feedback :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment