Make WordPress Core

Changeset 56580


Ignore:
Timestamp:
09/14/2023 09:45:48 AM (15 months ago)
Author:
karmatosed
Message:

Twenty Nineteen: Fixes button line height.

Line height was broken for button block and adding spacing.

Props nidhidhandhukiya, shailu25.
Fixes #58443.

Location:
trunk/src/wp-content/themes/twentynineteen
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/style-editor.css

    r56036 r56580  
    10061006/** === Button === */
    10071007.wp-block-button .wp-block-button__link {
    1008   line-height: 1.8;
     1008  line-height: inherit;
    10091009  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    10101010  font-size: 0.88889em;
  • trunk/src/wp-content/themes/twentynineteen/style-editor.scss

    r56036 r56580  
    382382
    383383    .wp-block-button__link {
    384         line-height: 1.8;
     384        line-height:inherit;
    385385        @include font-family( $font__heading );
    386386        font-size: $font__size-sm;
  • trunk/src/wp-content/themes/twentynineteen/style-rtl.css

    r56315 r56580  
    54905490  font-size: 0.88889em;
    54915491  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    5492   line-height: 1.2;
     5492  line-height: inherit;
    54935493  box-sizing: border-box;
    54945494  font-weight: bold;
Note: See TracChangeset for help on using the changeset viewer.