Make WordPress Core

Ticket #58024: 58024.1.patch

File 58024.1.patch, 2.7 KB (added by nidhidhandhukiya, 16 months ago)

I have applied the patch, so according to this solution It will resolve the issue and also not affect the default designs.

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

     
    919919
    920920
    921921/* Block: Button ----------------------------- */
    922 
     922:root .editor-styles-wrapper .wp-block-button{
     923        letter-spacing: 0.0333em;
     924}
    923925:root .editor-styles-wrapper .wp-block-button__link,
    924926:root .editor-styles-wrapper .wp-block-file__button {
    925927        background: #cd2653;
     
    927929        color: #fff;
    928930        font-size: 15px;
    929931        font-weight: 600;
    930         letter-spacing: 0.0333em;
    931932        line-height: 1.25;
    932933        padding: 1.1em 1.44em;
    933934        text-transform: uppercase;
  • wp-content/themes/twentytwenty/assets/css/editor-style-block.css

     
    923923
    924924
    925925/* Block: Button ----------------------------- */
    926 
     926:root .editor-styles-wrapper .wp-block-button{
     927        letter-spacing: 0.0333em;
     928}
    927929:root .editor-styles-wrapper .wp-block-button__link,
    928930:root .editor-styles-wrapper .wp-block-file__button {
    929931        background: #cd2653;
     
    931933        color: #fff;
    932934        font-size: 15px;
    933935        font-weight: 600;
    934         letter-spacing: 0.0333em;
    935936        line-height: 1.25;
    936937        padding: 1.1em 1.44em;
    937938        text-transform: uppercase;
  • wp-content/themes/twentytwenty/style-rtl.css

     
    823823input[type="search"]::-webkit-search-results-decoration {
    824824        display: none;
    825825}
    826 
     826.wp-block-button{
     827        letter-spacing: 0.0333em;
     828}
    827829button,
    828830.button,
    829831.faux-button,
     
    842844        display: inline-block;
    843845        font-size: 1.5rem;
    844846        font-weight: 600;
    845         letter-spacing: 0.0333em;
    846847        line-height: 1.25;
    847848        margin: 0;
    848849        opacity: 1;
  • wp-content/themes/twentytwenty/style.css

     
    829829input[type="search"]::-webkit-search-results-decoration {
    830830        display: none;
    831831}
    832 
     832.wp-block-button{
     833        letter-spacing: 0.0333em;
     834}
    833835button,
    834836.button,
    835837.faux-button,
     
    848850        display: inline-block;
    849851        font-size: 1.5rem;
    850852        font-weight: 600;
    851         letter-spacing: 0.0333em;
    852853        line-height: 1.25;
    853854        margin: 0;
    854855        opacity: 1;