Make WordPress Core

Ticket #45424: 45424.9.1.patch

File 45424.9.1.patch, 1.0 KB (added by allancole, 6 years ago)

Revising icons in the classic block toolbar to always use dashicons. More info here: https://github.com/WordPress/twentynineteen/pull/685 (This removes some unrelated changes that snuck into 45424.9 in previous patches. It now exclusively addresses the icons issue)

  • src/wp-content/themes/twentynineteen/style-editor.css

     
    757757  line-height: 1.6;
    758758  color: #767676;
    759759}
     760
     761/* Make sure our non-latin font overrides don't overwrite the iconfont used in the classic editor toolbar */
     762.wp-block[data-type="core/freeform"] .mce-btn i {
     763        font-family: dashicons !important;
     764}
  • src/wp-content/themes/twentynineteen/style-editor.scss

     
    753753                }
    754754        }
    755755}
     756
     757/* Make sure our non-latin font overrides don't overwrite the iconfont used in the classic editor toolbar */
     758.wp-block[data-type="core/freeform"] .mce-btn i {
     759        font-family: dashicons !important;
     760}