mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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 */
|
||||
|
||||
.wp-block-button .wp-block-button__link {
|
||||
box-shadow: none;
|
||||
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
||||
.wp-block-buttons {
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.046875em;
|
||||
line-height: 1;
|
||||
padding: 0.84375em 1.3125em 0.78125em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
|
||||
.wp-block-button[style*="text-transform"] .wp-block-button__link {
|
||||
text-transform: inherit;
|
||||
.wp-block-button .wp-block-button__link {
|
||||
box-shadow: none;
|
||||
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
||||
padding: 0.84375em 1.3125em 0.78125em;
|
||||
}
|
||||
|
||||
.wp-block-button__link {
|
||||
|
@ -560,18 +560,17 @@ figure[class*="wp-block-"] > figcaption {
|
||||
|
||||
/* Buttons */
|
||||
|
||||
.wp-block-button .wp-block-button__link {
|
||||
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
||||
.wp-block-buttons {
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.046875em;
|
||||
line-height: 1;
|
||||
padding: 0.84375em 1.3125em 0.78125em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
|
||||
.wp-block-button[style*="text-transform"] .wp-block-button__link {
|
||||
text-transform: inherit;
|
||||
.wp-block-button .wp-block-button__link {
|
||||
box-shadow: none;
|
||||
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
||||
padding: 0.84375em 1.3125em 0.78125em;
|
||||
}
|
||||
|
||||
.wp-block-button__link {
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @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.
|
||||
|
Loading…
Reference in New Issue
Block a user