Skip to content

Commit

Permalink
fix: theme twentynineteen button line-height
Browse files Browse the repository at this point in the history
  • Loading branch information
fnpen committed Oct 8, 2023
1 parent 64b699e commit ef33ce2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,13 @@

//! Button
.wp-block-button {
line-height: $font__line-height-heading;

.wp-block-button__link {
@include button-transition;
border: none;
font-size: $font__size-sm;
@include font-family( $font__heading );
line-height: $font__line-height-heading;
box-sizing: border-box;
font-weight: bold;
text-decoration: none;
Expand Down
5 changes: 4 additions & 1 deletion src/wp-content/themes/twentynineteen/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5496,12 +5496,15 @@ body.page .main-navigation {
width: 100%;
}

.entry .entry-content .wp-block-button {
line-height: 1.2;
}

.entry .entry-content .wp-block-button .wp-block-button__link {
transition: background 150ms ease-in-out;
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;
box-sizing: border-box;
font-weight: bold;
text-decoration: none;
Expand Down

0 comments on commit ef33ce2

Please sign in to comment.