Make WordPress Core


Ignore:
Timestamp:
02/12/2024 06:50:47 PM (3 months ago)
Author:
SergeyBiryukov
Message:

Twenty Nineteen: Correct line height for Button block.

This commit moves line-height to the Buttons container and removes the duplicate outline property.

Props sabernhardt, nidhidhandhukiya, monzuralam, shailu25, hrrarya, karmatosed, harshgajipara, nicolefurlan, fnpen, oglekler, poena, huzaifaalmesbah, audrasjb.
Fixes #58443.

File:
1 edited

Legend:

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

    r57579 r57599  
    380380/** === Button === */
    381381
     382.wp-block-buttons {
     383    line-height: $font__line-height-heading;
     384}
     385
    382386.wp-block-button {
    383387
    384388    .wp-block-button__link {
    385         line-height:inherit;
    386389        @include font-family( $font__heading );
    387390        font-size: $font__size-sm;
Note: See TracChangeset for help on using the changeset viewer.