Twenty Sixteen: Fixes button block letter spacing control.
The button block had issues with font styling not applying. This not only brings letter-spacing but also line-height, text-transform and font-weight to wp-button-block-buttons. [57300] fixed the separator issue. This fix also added box-shadow none for consistency. Props darshitrajyaguru97, harshgajipara, shailu25, sabernhardt, alvitazwar052. Fixes #58609. Built from https://develop.svn.wordpress.org/trunk@58725 git-svn-id: http://core.svn.wordpress.org/trunk@58127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
84510fb69b
commit
31b1f8dfa4
|
@ -250,19 +250,17 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||||
|
|
||||||
/* Buttons */
|
/* Buttons */
|
||||||
|
|
||||||
.wp-block-button .wp-block-button__link {
|
.wp-block-buttons {
|
||||||
box-shadow: none;
|
|
||||||
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
letter-spacing: 0.046875em;
|
letter-spacing: 0.046875em;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
padding: 0.84375em 1.3125em 0.78125em;
|
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
|
.wp-block-button .wp-block-button__link {
|
||||||
.wp-block-button[style*="text-transform"] .wp-block-button__link {
|
box-shadow: none;
|
||||||
text-transform: inherit;
|
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
||||||
|
padding: 0.84375em 1.3125em 0.78125em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-button__link {
|
.wp-block-button__link {
|
||||||
|
|
|
@ -560,18 +560,17 @@ figure[class*="wp-block-"] > figcaption {
|
||||||
|
|
||||||
/* Buttons */
|
/* Buttons */
|
||||||
|
|
||||||
.wp-block-button .wp-block-button__link {
|
.wp-block-buttons {
|
||||||
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
letter-spacing: 0.046875em;
|
letter-spacing: 0.046875em;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
padding: 0.84375em 1.3125em 0.78125em;
|
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
|
.wp-block-button .wp-block-button__link {
|
||||||
.wp-block-button[style*="text-transform"] .wp-block-button__link {
|
box-shadow: none;
|
||||||
text-transform: inherit;
|
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
||||||
|
padding: 0.84375em 1.3125em 0.78125em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-button__link {
|
.wp-block-button__link {
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.7-alpha-58724';
|
$wp_version = '6.7-alpha-58725';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue