Twenty Nineteen: Fixes button line height.

Line height was broken for button block and adding spacing.

Props nidhidhandhukiya, shailu25.
Fixes #58443.


git-svn-id: https://develop.svn.wordpress.org/trunk@56580 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Tammie Lister 2023-09-14 09:45:48 +00:00
parent 18fbb97e50
commit 73053994bf
3 changed files with 3 additions and 3 deletions

View File

@ -1005,7 +1005,7 @@ figcaption,
/** === Button === */
.wp-block-button .wp-block-button__link {
line-height: 1.8;
line-height: inherit;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
font-size: 0.88889em;
font-weight: bold;

View File

@ -381,7 +381,7 @@ figcaption,
.wp-block-button {
.wp-block-button__link {
line-height: 1.8;
line-height:inherit;
@include font-family( $font__heading );
font-size: $font__size-sm;
font-weight: bold;

View File

@ -5489,7 +5489,7 @@ body.page .main-navigation {
border: none;
font-size: 0.88889em;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
line-height: 1.2;
line-height: inherit;
box-sizing: border-box;
font-weight: bold;
text-decoration: none;