Make WordPress Core

Ticket #58024: 58204.2.patch

File 58204.2.patch, 2.4 KB (added by sabernhardt, 15 months ago)

adding override for custom letter-spacing (props harshgajipara)

  • src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css

     
    951951        text-transform: inherit;
    952952}
    953953
     954.wp-block-buttons[style*="letter-spacing"] .wp-block-button__link,
     955.wp-block-button[style*="letter-spacing"] .wp-block-button__link {
     956        letter-spacing: inherit;
     957}
     958
    954959.editor-styles-wrapper .wp-block-button .wp-block-button__link.mce-content-body {
    955960        line-height: 1.1;
    956961}
  • src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css

     
    955955        text-transform: inherit;
    956956}
    957957
     958.wp-block-buttons[style*="letter-spacing"] .wp-block-button__link,
     959.wp-block-button[style*="letter-spacing"] .wp-block-button__link {
     960        letter-spacing: inherit;
     961}
     962
    958963.editor-styles-wrapper .wp-block-button .wp-block-button__link.mce-content-body {
    959964        line-height: 1.1;
    960965}
  • src/wp-content/themes/twentytwenty/style-rtl.css

     
    30283028        text-transform: inherit;
    30293029}
    30303030
     3031.wp-block-buttons[style*="letter-spacing"] .wp-block-button__link,
     3032.wp-block-button[style*="letter-spacing"] .wp-block-button__link {
     3033        letter-spacing: inherit;
     3034}
     3035
    30313036/* Block: Columns ---------------------------- */
    30323037
    30333038.wp-block-columns.alignfull,
  • src/wp-content/themes/twentytwenty/style.css

     
    30483048        text-transform: inherit;
    30493049}
    30503050
     3051.wp-block-buttons[style*="letter-spacing"] .wp-block-button__link,
     3052.wp-block-button[style*="letter-spacing"] .wp-block-button__link {
     3053        letter-spacing: inherit;
     3054}
     3055
    30513056/* Block: Columns ---------------------------- */
    30523057
    30533058.wp-block-columns.alignfull,