Twenty Seventeen: Ensure long text wraps correctly in the Button Block.
This changeset replaces `white-space: nowrap` with `white-space: preline` to ensure long text used in the button block correctly wraps to a second line. Follow-up to [44148]. Props robertghetau, bhrugesh12, sabernhardt, mukesh27. Fixes #55783. Built from https://develop.svn.wordpress.org/trunk@54139 git-svn-id: http://core.svn.wordpress.org/trunk@53698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7c4a64e67b
commit
bcdc46c51c
|
@ -137,7 +137,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||||
padding: 0.7em 2em;
|
padding: 0.7em 2em;
|
||||||
-webkit-transition: background-color 0.2s ease-in-out;
|
-webkit-transition: background-color 0.2s ease-in-out;
|
||||||
transition: background-color 0.2s ease-in-out;
|
transition: background-color 0.2s ease-in-out;
|
||||||
white-space: nowrap;
|
white-space: pre-line;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-file .wp-block-file__button:hover,
|
.wp-block-file .wp-block-file__button:hover,
|
||||||
|
@ -214,7 +214,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||||
padding: 0.7em 2em;
|
padding: 0.7em 2em;
|
||||||
-webkit-transition: background-color 0.2s ease-in-out;
|
-webkit-transition: background-color 0.2s ease-in-out;
|
||||||
transition: background-color 0.2s ease-in-out;
|
transition: background-color 0.2s ease-in-out;
|
||||||
white-space: nowrap;
|
white-space: pre-line;
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry-content .wp-block-button__link {
|
.entry-content .wp-block-button__link {
|
||||||
|
|
|
@ -608,7 +608,7 @@ html[lang="th"] .edit-post-visual-editor * {
|
||||||
padding: 0.7em 2em;
|
padding: 0.7em 2em;
|
||||||
-webkit-transition: background-color 0.2s ease-in-out;
|
-webkit-transition: background-color 0.2s ease-in-out;
|
||||||
transition: background-color 0.2s ease-in-out;
|
transition: background-color 0.2s ease-in-out;
|
||||||
white-space: nowrap;
|
white-space: pre-line;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*--------------------------------------------------------------
|
/*--------------------------------------------------------------
|
||||||
|
@ -735,7 +735,7 @@ table.wp-block-table td:last-child {
|
||||||
padding: 0.7em 2em;
|
padding: 0.7em 2em;
|
||||||
-webkit-transition: background-color 0.2s ease-in-out;
|
-webkit-transition: background-color 0.2s ease-in-out;
|
||||||
transition: background-color 0.2s ease-in-out;
|
transition: background-color 0.2s ease-in-out;
|
||||||
white-space: nowrap;
|
white-space: pre-line;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-button .wp-block-button__link[data-is-placeholder-visible="true"] {
|
.wp-block-button .wp-block-button__link[data-is-placeholder-visible="true"] {
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.1-alpha-54138';
|
$wp_version = '6.1-alpha-54139';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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