Make WordPress Core

Changeset 55932


Ignore:
Timestamp:
06/17/2023 09:35:25 PM (3 years ago)
Author:
joedolson
Message:

Bundled Themes: Fix Twenty Fourteen button block line-height.

Change the button block in Twenty Fourteen to use relative instead of fixed line-height. Prevent visual errors with larger font sizes on the front-end.

Props nidhidhandhukiya, algorithmsunlocks, mayur8991, sabernhardt.
Fixes #58444.

Location:
trunk/src/wp-content/themes/twentyfourteen/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/css/blocks.css

    r55228 r55932  
    143143        font-size: 12px;
    144144        font-weight: 700;
    145         line-height: 15px;
     145        line-height: 1.25;
    146146        padding: 10px 30px 11px;
    147147        text-transform: uppercase;
    … …  
    236236        font-size: 12px;
    237237        font-weight: 700;
    238         line-height: 15px;
     238        line-height: 1.25;
    239239        padding: 10px 30px 11px;
    240240        text-decoration: none;
  • trunk/src/wp-content/themes/twentyfourteen/css/editor-blocks.css

    r55228 r55932  
    337337        font-size: 12px;
    338338        font-weight: 700;
    339         line-height: normal;
     339        line-height: 1.25;
    340340        padding: 10px 30px 11px;
    341341        text-transform: uppercase;
    … …  
    419419        font-size: 12px;
    420420        font-weight: 700;
     421        line-height: 1.25;
    421422        padding: 10px 30px 11px;
    422423        text-transform: uppercase;
Note: See TracChangeset for help on using the changeset viewer.