From 73053994bf11ddde4214cb03fbd43c42ee8b612c Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Thu, 14 Sep 2023 09:45:48 +0000 Subject: [PATCH] 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 --- src/wp-content/themes/twentynineteen/style-editor.css | 2 +- src/wp-content/themes/twentynineteen/style-editor.scss | 2 +- src/wp-content/themes/twentynineteen/style-rtl.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-content/themes/twentynineteen/style-editor.css b/src/wp-content/themes/twentynineteen/style-editor.css index 3a4ce4a6e6..3dd9c1eb8a 100644 --- a/src/wp-content/themes/twentynineteen/style-editor.css +++ b/src/wp-content/themes/twentynineteen/style-editor.css @@ -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; diff --git a/src/wp-content/themes/twentynineteen/style-editor.scss b/src/wp-content/themes/twentynineteen/style-editor.scss index 7b0df5f0af..2c129c809a 100644 --- a/src/wp-content/themes/twentynineteen/style-editor.scss +++ b/src/wp-content/themes/twentynineteen/style-editor.scss @@ -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; diff --git a/src/wp-content/themes/twentynineteen/style-rtl.css b/src/wp-content/themes/twentynineteen/style-rtl.css index 25a5df5f18..7329d2a35f 100644 --- a/src/wp-content/themes/twentynineteen/style-rtl.css +++ b/src/wp-content/themes/twentynineteen/style-rtl.css @@ -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;