Merge pull request #18005 from agh1/button-icon-placement
authorSeamus Lee <seamuslee001@gmail.com>
Tue, 4 Aug 2020 20:24:06 +0000 (06:24 +1000)
committerGitHub <noreply@github.com>
Tue, 4 Aug 2020 20:24:06 +0000 (06:24 +1000)
Fix buggy placement of icons on buttons

1  2 
css/civicrm.css

diff --cc css/civicrm.css
index 5f52d778ac489b88eec19cdb239a1b52ceba6082,3f9340be8ea21834e360796cd78838c375794666..cf61ef5a7d057e2d95fd9235732a21d89f10b2d3
@@@ -1850,7 -1848,16 +1848,13 @@@ input.crm-form-entityref 
  .crm-container .crm-button-type-back {
    margin-left: 20px;
  }
 -.crm-container .crm-button-type-cancel input {
 -  color: #E6E6DC!important;
 -}
  
+ /* Reset WP backend min-height for buttons */
+ .wp-core-ui .crm-container .button {
+   min-height: 0;
+ }
  .crm-container a.button,
  .crm-container a.button:link,
  .crm-container a.button:visited,