Last active
February 25, 2020 09:18
-
-
Save alirobe/456d7a30023eaf087359e37806325326 to your computer and use it in GitHub Desktop.
Reduce Dynamics 365 v9 Field Spacing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
} |
Awesome, Alirobe!!! You rock!
Thanks for the feedback :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how to apply: (CRM admin only)
note; this won't be supported by myself or microsoft - remember to leave a link to this gist in the description of the web resource, then add the webresource to forms where you want to apply this style...
Important known bugs: